]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: edma: Fix error return code in edma_alloc_chan_resources()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 15:16:35 +0000 (15:16 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 18 Oct 2016 14:48:14 +0000 (20:18 +0530)
commitbd8546a1c2721d6d8c6a996f32716c3990a5856a
tree3a17d20c014cf45286a17604527f92d2dd59ec3c
parenta245803230f587f66ceddc152f3504b2a960aac2
dmaengine: edma: Fix error return code in edma_alloc_chan_resources()

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c