]> git.karo-electronics.de Git - karo-tx-linux.git/commit
msm: dma: Support multiple adms
authorJeff Ohlstein <johlstei@codeaurora.org>
Fri, 4 Feb 2011 21:52:08 +0000 (13:52 -0800)
committerDavid Brown <davidb@codeaurora.org>
Fri, 1 Apr 2011 23:38:44 +0000 (16:38 -0700)
commit6596b64e48132cb49ae03290b90cec8f2598cfd7
treeb93d7b3b5ec24d8e5c4e3b51e52b47879290c248
parent5f0130d53e0ee0495f5510ed6aa1df2ac291958d
msm: dma: Support multiple adms

Add support for targets which have more than one ADM present. In the
interest of maintaining the same api as before, map each ADM's channels
sequentially, so adm0 would have channels 0-15, adm1 would have channels
16-31, etc.

Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/dma.c