Skip to content
Commit 02747885 authored by Inderpal Singh's avatar Inderpal Singh Committed by Vinod Koul
Browse files

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: default avatarInderpal Singh <inderpal.singh@linaro.org>
Acked-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
parent 7c71b8eb
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