[alsa-devel] [PATCH 0/4] ASoC: fsi/rsnd: cyclic transfer support

Kuninori Morimoto kuninori.morimoto.gx at gmail.com
Thu Jun 5 10:58:08 CEST 2014


Hi Mark

Current Renesas sound driver (= FSI/RSND) is not using
ALSA common DMAEngine method for some reasons.
The 1st reason was that Renesas DMA didn't support
cyclic transfer mode.
But now, it is supported !
These patches support cyclic transfer for FSI/RSND

It needs this branch

git://git.infradead.org/users/vkoul/slave-dma.git :: next

especially
dfbb85cab5f0819d0424a3637b03e7892704fa42
(DMA: shdma: add cyclic transfer support)

These are based on mark/topic/rcar branch
But, #4 patch needs mark/fix/rcar merge

Kuninori Morimoto (4):
      ASoC: fsi: use SNDRV_DMA_TYPE_DEV for sound buffer
      ASoC: fsi: add fsi_pointer_update() for common pointer method
      ASoC: fsi: use dmaengine_prep_dma_cyclic() for DMA transfer
      ASoC: rsnd: use dmaengine_prep_dma_cyclic() instead of original method

 arch/arm/mach-shmobile/board-armadillo800eva.c |    4 +
 arch/arm/mach-shmobile/board-kzm9g.c           |    2 +
 arch/arm/mach-shmobile/board-mackerel.c        |    4 +
 arch/sh/boards/mach-ecovec24/setup.c           |    2 +
 sound/soc/sh/fsi.c                             |  189 +++++++-----------------
 sound/soc/sh/rcar/core.c                       |   76 +++-------
 sound/soc/sh/rcar/rsnd.h                       |    4 -
 7 files changed, 82 insertions(+), 199 deletions(-)

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list