aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-03-07 05:06:46 +0000
committerMark Brown <broonie@kernel.org>2016-03-07 14:41:54 +0700
commitb5ebbb3a16c631c776f6619dff8ee86da21cca6f (patch)
treed0804d92d1939886ed2b036f9e29e04197f96cee /sound/soc
parentASoC: rsnd: don't enable SRC Sync mode when Capture with CMD (diff)
downloadlinux-dev-b5ebbb3a16c631c776f6619dff8ee86da21cca6f.tar.xz
linux-dev-b5ebbb3a16c631c776f6619dff8ee86da21cca6f.zip
ASoC: rsnd: SRC sync mode is not related to clock master mode
SRC sync mode needs to control its clock (= for in/out). 1st but codec side clock Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/sh/rcar/src.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c
index 541a478cf157..ab974afe79eb 100644
--- a/sound/soc/sh/rcar/src.c
+++ b/sound/soc/sh/rcar/src.c
@@ -474,7 +474,6 @@ static int rsnd_src_pcm_new(struct rsnd_mod *mod,
struct rsnd_dai_stream *io,
struct snd_soc_pcm_runtime *rtd)
{
- struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
struct rsnd_src *src = rsnd_mod_to_src(mod);
int ret;
@@ -483,12 +482,6 @@ static int rsnd_src_pcm_new(struct rsnd_mod *mod,
*/
/*
- * SRC sync convert needs clock master
- */
- if (!rsnd_rdai_is_clk_master(rdai))
- return 0;
-
- /*
* It can't use SRC Synchronous convert
* when Capture if it uses CMD
*/