diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-06-23 02:55:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-28 15:41:18 +0200 |
commit | ffb83e8cb14cace1b08ceb56695b580c808d8a41 (patch) | |
tree | a2a982646dbd6138fbe63c25e709fb5b5bac6248 /arch/arm/mach-shmobile/board-armadillo800eva.c | |
parent | Merge remote-tracking branch 'asoc/fix/rcar' into asoc-rcar (diff) | |
download | linux-ffb83e8cb14cace1b08ceb56695b580c808d8a41.tar.xz linux-ffb83e8cb14cace1b08ceb56695b580c808d8a41.zip |
ASoC: fsi: use SNDRV_DMA_TYPE_DEV for sound buffer
Current fsi driver is using SNDRV_DMA_TYPE_CONTINUOUS
for snd_pcm_lib_preallocate_pages_for_all().
But, it came from original dma-sh7760.c,
and no longer needed.
This patch exchange its parameter, and removed
original dma mapping and un-needed
dma_sync_single_xxx() from driver.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-armadillo800eva.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 30fcac73a540..689c121157ec 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c @@ -998,6 +998,8 @@ static struct platform_device fsi_wm8978_device = { .id = 0, .dev = { .platform_data = &fsi_wm8978_info, + .coherent_dma_mask = DMA_BIT_MASK(32), + .dma_mask = &fsi_wm8978_device.dev.coherent_dma_mask, }, }; @@ -1021,6 +1023,8 @@ static struct platform_device fsi_hdmi_device = { .id = 1, .dev = { .platform_data = &fsi2_hdmi_info, + .coherent_dma_mask = DMA_BIT_MASK(32), + .dma_mask = &fsi_hdmi_device.dev.coherent_dma_mask, }, }; |