commit | 2d517508060c22ef371a61495773cf890def291a | [log] [tgz] |
---|---|---|
author | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | Wed Jan 06 17:28:44 2010 +0530 |
committer | Kevin Hilman <khilman@deeprootsystems.com> | Thu Feb 04 13:30:00 2010 -0800 |
tree | 8d98b7e2b3c63eab7b1fe78bb97d87e852a2a45f | |
parent | 0e6cb8d296308a75e4047fabc752731ff7836182 [diff] |
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 <sudhakar.raj@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>