summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/src.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-02-20 11:23:08 +0100
committerMark Brown <broonie@kernel.org>2015-03-07 16:04:29 +0100
commit4715219ecef50cf79d7784545bf5bb4664bb800d (patch)
treef5ec7e46713ca2caa34dfae6053183e7819b235b /sound/soc/sh/rcar/src.c
parentASoC: rsnd: remove SH-DMA-BASE specific implementation (diff)
downloadlinux-4715219ecef50cf79d7784545bf5bb4664bb800d.tar.xz
linux-4715219ecef50cf79d7784545bf5bb4664bb800d.zip
ASoC: rsnd: remove un-needed parameter from rsnd_dma_init()
It can get DMA direction via rsnd_dai_stream. Remove un-needed is_play from rsnd_dma_init(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/src.c')
-rw-r--r--sound/soc/sh/rcar/src.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c
index 81c182b4bad5..7fb879871a8e 100644
--- a/sound/soc/sh/rcar/src.c
+++ b/sound/soc/sh/rcar/src.c
@@ -713,7 +713,6 @@ static int rsnd_src_probe_gen2(struct rsnd_mod *mod,
ret = rsnd_dma_init(priv,
rsnd_mod_to_dma(mod),
- rsnd_info_is_playback(priv, src),
src->info->dma_id);
if (ret)
goto rsnd_src_probe_gen2_fail;