diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-11-14 04:20:56 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-22 17:25:52 +0000 |
commit | 4821d914fe747a91453021675a74069776f0b819 (patch) | |
tree | 3778cad9a71165748e99c2a7c998a928475ba0da /include | |
parent | edce5c496c6af3e5ca6e1bb18f7cf4f6ef6226fa (diff) |
ASoC: rsnd: use dma_sync_single_for_xxx() for IOMMU
IOMMU needs DMA mapping function to use it. One solution is that
we can use DMA mapped dev on snd_pcm_lib_preallocate_pages_for_all()
for SNDRV_DMA_TYPE_DEV. But pcm_new and dma map timing are mismatched.
Thus, this patch uses SNDRV_DMA_TYPE_CONTINUOUS for pcm_new,
and use dma_sync_single_for_xxx() for each transfer.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions