ASoC: fsi: use SNDRV_DMA_TYPE_DEV for sound buffer
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 Jun 2014 00:55:18 +0000 (17:55 -0700)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:25:08 +0000 (09:25 +0900)
commitf7a37e6fee6bd0ec29c072c60bf374a836c40d0c
treeb3de398a5c93434b69210866859220393ee68de8
parentf4d81b2c535c17be967d3870a075e9ab8ab675e8
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>
(cherry picked from commit ffb83e8cb14cace1b08ceb56695b580c808d8a41)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-armadillo800eva.c
arch/arm/mach-shmobile/board-kzm9g.c
arch/arm/mach-shmobile/board-mackerel.c
arch/sh/boards/mach-ecovec24/setup.c
sound/soc/sh/fsi.c