mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
039f2ccc64
commit
73919dbe48
|
@ -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);
|
||||
|
|
|
@ -1115,7 +1115,9 @@ void rsnd_parse_connect_ssi(struct rsnd_dai *rdai,
|
|||
|
||||
i = 0;
|
||||
for_each_child_of_node(node, np) {
|
||||
struct rsnd_mod *mod = rsnd_ssi_mod_get(priv, i);
|
||||
struct rsnd_mod *mod;
|
||||
|
||||
mod = rsnd_ssi_mod_get(priv, i);
|
||||
|
||||
if (np == playback)
|
||||
rsnd_ssi_connect(mod, &rdai->playback);
|
||||
|
|
|
@ -470,7 +470,9 @@ void rsnd_parse_connect_ssiu(struct rsnd_dai *rdai,
|
|||
int i = 0;
|
||||
|
||||
for_each_child_of_node(node, np) {
|
||||
struct rsnd_mod *mod = rsnd_ssiu_mod_get(priv, i);
|
||||
struct rsnd_mod *mod;
|
||||
|
||||
mod = rsnd_ssiu_mod_get(priv, i);
|
||||
|
||||
if (np == playback)
|
||||
rsnd_dai_connect(mod, io_p, mod->type);
|
||||
|
|
Loading…
Reference in New Issue