summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-08-10 18:52:18 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-14 13:55:15 +0530
commit13b3006b8ebd60926a60fc378ff6fe8affa9a194 (patch)
tree93c92d4f95fc53ab9f8e5e14ee7c2e21e2141781 /sound/core
parent1ac0e845c10685f3643fe81a08c13be4b9416bce (diff)
downloadop-kernel-dev-13b3006b8ebd60926a60fc378ff6fe8affa9a194.zip
op-kernel-dev-13b3006b8ebd60926a60fc378ff6fe8affa9a194.tar.gz
dma: mmp_pdma: add filter function
PXA peripherals need to obtain specific DMA request ids which will eventually be stored in the DRCMR register. Currently, clients are expected to store that number inside the slave config block as slave_id, which is unfortunately incompatible with the way DMA resources are handled in DT environments. This patch adds a filter function which stores the filter parameter passed in by of-dma.c into the channel's drcmr register. For backward compatability, cfg->slave_id is still used if set to a non-zero value. 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/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud