Skip to content
Commit 7c97381e authored by Aditya Pakki's avatar Aditya Pakki Committed by Vinod Koul
Browse files

dmaengine: mv_xor: Fix a missing check in mv_xor_channel_add



dma_async_device_register() may fail and return an error. The capabilities
checked in mv_xor_channel_add() are not complete. The fix handles the
error by freeing the resources.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent bfeffd15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment