Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit d1fd03a3 authored by Wei Yongjun's avatar Wei Yongjun Committed by Vinod Koul
Browse files

dmaengine: ti: edma: Fix error return code in edma_probe()

Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 2a03c131

 ("dmaengine: ti: edma: add missed operations")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20191212114622.127322-1-weiyongjun1@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent a5b982af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment