diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-10-25 12:02:49 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-11-08 10:43:57 +0530 |
commit | c47e6403fa099f200868d6b106701cb42d181d2b (patch) | |
tree | 805edd5aeebe78c4eb204e04860aac5bbb66802c /include | |
parent | 28cbe5a0a46a6637adbda52337d7b2777fc04027 (diff) | |
download | lwn-c47e6403fa099f200868d6b106701cb42d181d2b.tar.gz lwn-c47e6403fa099f200868d6b106701cb42d181d2b.zip |
dmaengine: at_hdmac: Check return code of dma_async_device_register
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions