commit | 4cfd8d53c04bd6a47d6f44acbac7afd27d8a1f5c | [log] [tgz] |
---|---|---|
author | Tudor Ambarus <tudor.ambarus@microchip.com> | Tue Oct 25 12:02:49 2022 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Nov 25 17:35:38 2022 +0100 |
tree | 12a2ba6166b13ea7e23fded3f355774c11b3ca1e | |
parent | 6163e5b61a0c0e3c98417dc8c2265181ea048546 [diff] |
dmaengine: at_hdmac: Check return code of dma_async_device_register commit c47e6403fa099f200868d6b106701cb42d181d2b upstream. dma_async_device_register() can fail, check the return code and display an error. Fixes: dc78baa2b90b ("dmaengine: at_hdmac: new driver for the Atmel AHB DMA Controller") Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Cc: stable@vger.kernel.org Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Link: https://lore.kernel.org/r/20221025090306.297886-1-tudor.ambarus@microchip.com Link: https://lore.kernel.org/r/20221025090306.297886-16-tudor.ambarus@microchip.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>