[alsa-devel] [PATCH v3 0/2] ASoC: rsnd: DMA power fix and IOMMU support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Nov 14 05:19:38 CET 2016



Hi Mark
Cc Laurent

These are v3 of Renesas sound DMA patches.

1) patch controls Audio-DMAC power.
Current driver gets DMAEngile handle when .probe() timing,
and release it on .remove() timing. But Audio-DMAC power
ON/OFF are related to this timing. This means Audio-DMAC
always ON Now.
Basically, this kind of DMAC power control should be handled
by DMAEngile, but current DMAEngile can't handle
pm_runtime_xxx on atomic context.
Because of this DMAEngile API issue, the *better* solution 
is get DMAEngile handle on every playback timing.

Kuninori Morimoto (2):
  ASoC: rsnd: Request/Release DMA channel each time
  ASoC: rsnd: use dma_sync_single_for_xxx() for IOMMU

 sound/soc/sh/rcar/core.c |   4 +-
 sound/soc/sh/rcar/dma.c  | 267 +++++++++++++++++++++++++++++++++--------------
 2 files changed, 188 insertions(+), 83 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list