]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: rsnd: rename rsnd_scu_convert_rate_ctrl()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 24 Jan 2014 02:39:48 +0000 (18:39 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:41:36 +0000 (12:41 +0000)
rsnd_scu_convert_rate_ctrl() is unclear naming,
and there is "rsnd_scu_convert_rate" variable.
These are confusable.
it renamed to rsnd_scu_set_convert_rate()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/scu.c

index ade10474a0cf09d9a42dba5a5db22cc550d19fd2..872a115cd224dd7c481208df9d2010a37de13abb 100644 (file)
@@ -190,10 +190,9 @@ unsigned int rsnd_scu_get_ssi_rate(struct rsnd_priv *priv,
        return rate;
 }
 
-static int rsnd_scu_convert_rate_ctrl(
-                             struct rsnd_mod *mod,
-                             struct rsnd_dai *rdai,
-                             struct rsnd_dai_stream *io)
+static int rsnd_scu_set_convert_rate(struct rsnd_mod *mod,
+                                    struct rsnd_dai *rdai,
+                                    struct rsnd_dai_stream *io)
 {
        struct rsnd_priv *priv = rsnd_mod_to_priv(mod);
        struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
@@ -283,7 +282,7 @@ static int rsnd_scu_init(struct rsnd_mod *mod,
        if (ret < 0)
                return ret;
 
-       ret = rsnd_scu_convert_rate_ctrl(mod, rdai, io);
+       ret = rsnd_scu_set_convert_rate(mod, rdai, io);
        if (ret < 0)
                return ret;