summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/scu.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2014-01-24 03:39:48 +0100
committerMark Brown <broonie@linaro.org>2014-02-03 13:41:36 +0100
commitf80e1c96339a45992b5dded0474288e52bd3b18d (patch)
treea7de06aba083f5541e7078e429a59146a1d8dc50 /sound/soc/sh/rcar/scu.c
parentASoC: rsnd: remove ssiu from ssi.c (diff)
downloadlinux-f80e1c96339a45992b5dded0474288e52bd3b18d.tar.xz
linux-f80e1c96339a45992b5dded0474288e52bd3b18d.zip
ASoC: rsnd: rename rsnd_scu_convert_rate_ctrl()
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>
Diffstat (limited to '')
-rw-r--r--sound/soc/sh/rcar/scu.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sound/soc/sh/rcar/scu.c b/sound/soc/sh/rcar/scu.c
index ade10474a0cf..872a115cd224 100644
--- a/sound/soc/sh/rcar/scu.c
+++ b/sound/soc/sh/rcar/scu.c
@@ -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;