diff options
author | Daniel Mack <zonque@gmail.com> | 2013-08-10 18:52:19 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-14 13:55:15 +0530 |
commit | a9a7cf08bd080289bbf01ceed9369220f0715684 (patch) | |
tree | 5ee01d6efb976c7aa758aa716a82ab43d657db5e /sound | |
parent | 13b3006b8ebd60926a60fc378ff6fe8affa9a194 (diff) | |
download | op-kernel-dev-a9a7cf08bd080289bbf01ceed9369220f0715684.zip op-kernel-dev-a9a7cf08bd080289bbf01ceed9369220f0715684.tar.gz |
dma: mmp_pdma: make the controller a DMA provider
This patch makes the mmp_pdma controller able to provide DMA resources
in DT environments by providing an dma xlate function.
of_dma_simple_xlate() isn't used here, because if fails to handle
multiple different DMA engines or several instances of the same
controller. Instead, a private implementation is provided that makes use
of the newly introduced dma_get_slave_channel() call.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions