]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: rsnd: SRC sync mode is not related to clock master mode
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 7 Mar 2016 05:06:46 +0000 (05:06 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2016 07:41:54 +0000 (14:41 +0700)
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>
sound/soc/sh/rcar/src.c

index 541a478cf157226e1abe4e688d136f8a7906b4b0..ab974afe79eb53f8e835bfb56098bce0d747d57c 100644 (file)
@@ -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;
 
@@ -482,12 +481,6 @@ static int rsnd_src_pcm_new(struct rsnd_mod *mod,
         * enable SRC sync convert if possible
         */
 
-       /*
-        * 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