diff options
author | 2021-05-31 13:19:18 +0900 | |
---|---|---|
committer | 2021-06-01 14:04:15 +0100 | |
commit | 73919dbe480d0b6cf3eeb54d25cb2538b6d3b024 (patch) | |
tree | 0a9ab40f12344399b7ce07a6b01fdf0997f07754 /sound/soc/sh/rcar/core.c | |
parent | ASoC: rsnd: tidyup rsnd_dma_request_channel() (diff) | |
download | linux-stable-73919dbe480d0b6cf3eeb54d25cb2538b6d3b024.tar.xz linux-stable-73919dbe480d0b6cf3eeb54d25cb2538b6d3b024.zip |
ASoC: rsnd: tidyup rsnd_parse_connect_xxx()
This patch tidyup rsnd_parse_connect_xxx() style.
Nothing is changed, but is preparation for
next "ASoC: rsnd: adjust disabled module" patch
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/877djfk01l.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/core.c')
-rw-r--r-- | sound/soc/sh/rcar/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index c85f1310a8fa..b50812c188ed 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -1140,7 +1140,9 @@ void rsnd_parse_connect_common(struct rsnd_dai *rdai, char *name, i = 0; for_each_child_of_node(node, np) { - struct rsnd_mod *mod = mod_get(priv, i); + struct rsnd_mod *mod; + + mod = mod_get(priv, i); if (np == playback) rsnd_dai_connect(mod, &rdai->playback, mod->type); |