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-kzm9g.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-kzm9g.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-kzm9g.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index f94ec8ca42c1..01e0d1386db7 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c @@ -603,6 +603,8 @@ static struct platform_device fsi_ak4648_device = { .name = "asoc-simple-card", .dev = { .platform_data = &fsi2_ak4648_info, + .coherent_dma_mask = DMA_BIT_MASK(32), + .dma_mask = &fsi_ak4648_device.dev.coherent_dma_mask, }, }; |