commit | 7c97381e7a9a5ec359007c0d491a143e3d9f787c | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Mon Dec 24 11:41:54 2018 -0600 |
committer | Vinod Koul <vkoul@kernel.org> | Mon Jan 07 09:50:29 2019 +0530 |
tree | d53a0efb6f3693bf8d8168dcfc706f822caeb8ae | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c [diff] |
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: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Vinod Koul <vkoul@kernel.org>