From: Sudhakar Rajashekhara Date: Wed, 6 Jan 2010 11:58:44 +0000 (+0530) Subject: davinci: Keep count of channel controllers on a platform X-Git-Tag: v2.6.34-rc1~234^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d517508060c22ef371a61495773cf890def291a;p=pandora-kernel.git davinci: Keep count of channel controllers on a platform Some architectures have only one channel controller, but the edma_alloc_channel api loops twice to findout the free channel available in EDMA_CHANNEL_ANY case. A new variable has been introduced to keep count of number of channel controllers being used on a particular architecture. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed