]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMark Brown <broonie@linaro.org>
Sat, 28 Jun 2014 13:41:18 +0000 (14:41 +0100)
commitd4515aa6dfdfb8f3c0db54fe5b203eb972b30470
treea2a982646dbd6138fbe63c25e709fb5b5bac6248
parent8c9795c6e2107c7176a81b08073c7b147dea87cf
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>
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