]> git.karo-electronics.de Git - linux-beck.git/commit
DMA: PL330: return ENOMEM instead of 0 from pl330_alloc_chan_resources
authorInderpal Singh <inderpal.singh@linaro.org>
Mon, 17 Sep 2012 04:27:45 +0000 (09:57 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 18 Sep 2012 03:31:39 +0000 (09:01 +0530)
commit027478851791df751176398be02a3b1c5f6aa824
treeda2936fdca048ac352e8311fa45edbc6d809d777
parent7c71b8eb268ee38235f7e924d943ea9d90e59469
DMA: PL330: return ENOMEM instead of 0 from pl330_alloc_chan_resources

Since 0 is not considered as error at dmaengine level, return ENOMEM
from pl330_alloc_chan_resources in case of failure.

Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/pl330.c