summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-06-27 12:21:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-10-31 14:48:46 +0000
commitfa6a8d6d65b19ab44e5244ea499bcd553cc72343 (patch)
tree789f1db34489c2eed65718df5c4bbcb102c09b48 /sound/soc/fsl
parent4ffb4318b044d175709567402a65f8ebb19f5d3b (diff)
downloadblackbird-op-linux-fa6a8d6d65b19ab44e5244ea499bcd553cc72343.tar.gz
blackbird-op-linux-fa6a8d6d65b19ab44e5244ea499bcd553cc72343.zip
DMA-API: provide a helper to setup DMA masks
Many drivers contain code such as: dev->dma_mask = &dev->coherent_dma_mask; dev->coherent_dma_mask = MASK; Let's move this pattern out of drivers and have the DMA API provide a helper for it. This helper uses dma_set_mask_and_coherent() to allow platform issues to be properly dealt with via dma_set_mask()/ dma_is_supported(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'sound/soc/fsl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud