summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-28 18:59:02 -0700
committerMark Brown <broonie@linaro.org>2013-08-06 17:56:13 +0100
commit849fc82a6f4f32b4c8c502bb7c4a68df51170232 (patch)
tree59745fe7d701eec3504c166a949fdad5cad467cb /include/sound
parent0a4d94c07ce782e645a8c0484d52221758b4c398 (diff)
ASoC: rsnd: SSI supports DMA transfer
This patch adds DMAEngine transfer on SSI. But, it transfers sound data from memory to SSI directly without using HPBIF at this time. It will be updated soon Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rcar_snd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h
index 33233edd166..a72687dda0c 100644
--- a/include/sound/rcar_snd.h
+++ b/include/sound/rcar_snd.h
@@ -39,13 +39,14 @@
#define RSND_SSI_PLAY (1 << 24)
-#define RSND_SSI_SET(_dai_id, _pio_irq, _flags) \
-{ .dai_id = _dai_id, .pio_irq = _pio_irq, .flags = _flags }
+#define RSND_SSI_SET(_dai_id, _dma_id, _pio_irq, _flags) \
+{ .dai_id = _dai_id, .dma_id = _dma_id, .pio_irq = _pio_irq, .flags = _flags }
#define RSND_SSI_UNUSED \
-{ .dai_id = -1, .pio_irq = -1, .flags = 0 }
+{ .dai_id = -1, .dma_id = -1, .pio_irq = -1, .flags = 0 }
struct rsnd_ssi_platform_info {
int dai_id;
+ int dma_id;
int pio_irq;
u32 flags;
};