ASoC: rsnd: SCU should be called before SSI
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 24 Jan 2014 02:40:34 +0000 (18:40 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:41:37 +0000 (12:41 +0000)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/gen.c

index 76828c2..db486aa 100644 (file)
@@ -182,14 +182,14 @@ int rsnd_gen_path_init(struct rsnd_priv *priv,
                                       rsnd_dai_is_play(rdai, io));
        id = rsnd_mod_id(mod);
 
-       /* SSI */
-       mod = rsnd_ssi_mod_get(priv, id);
+       /* SCU */
+       mod = rsnd_scu_mod_get(priv, id);
        ret = rsnd_dai_connect(rdai, mod, io);
        if (ret < 0)
                return ret;
 
-       /* SCU */
-       mod = rsnd_scu_mod_get(priv, id);
+       /* SSI */
+       mod = rsnd_ssi_mod_get(priv, id);
        ret = rsnd_dai_connect(rdai, mod, io);
 
        return ret;