From: Sudhakar Rajashekhara Date: Wed, 6 Jan 2010 11:58:36 +0000 (+0530) Subject: davinci: Correct return value of edma_alloc_channel api X-Git-Tag: v2.6.34-rc1~234^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6cb8d296308a75e4047fabc752731ff7836182;p=pandora-kernel.git davinci: Correct return value of edma_alloc_channel api Currently, edma_alloc_channel api is returning the channel number without prepending the controller on which the channel was allocated. So, if a channel is allocated on 2nd controller, calls subsequent to edma_alloc_channel would never know that channel was allocated on the 2nd controller, and continue to operate on 1st controller, resulting in edma failure. This patch fixes this issue. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed