From: Sudhakar Rajashekhara Date: Wed, 6 Jan 2010 11:59:11 +0000 (+0530) Subject: davinci: Fix edma_alloc_channel api for EDMA_CHANNEL_ANY case X-Git-Tag: v2.6.34-rc1~234^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447f18f1b4a3e86159353d016dcaac25414b3a42;p=pandora-kernel.git davinci: Fix edma_alloc_channel api for EDMA_CHANNEL_ANY case Though edma_alloc_channel api was looping through the available channel controllers in EDMA_CHANNEL_ANY case, it was never returning the channel for 2nd channel controller, if 1st channel controller had no free channels. This issue has been fixed with this patch. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed