diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-12-10 21:43:41 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-11 07:05:04 -0500 |
commit | 9f761183947b91aacc4ed5c2a1a39ac08b938b6c (patch) | |
tree | e2c1d16f0939911e235424d861aa6be38ffb8a59 | |
parent | d8d9b9730cd62c9c7d24d5277542da98c09ea728 (diff) |
ASoC: rsnd: remove unneeded "is_graph" from __rsnd_dai_probe()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/sh/rcar/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index a96ebebd96de..64d5ecb86528 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c | |||
@@ -1017,7 +1017,7 @@ of_node_compatible: | |||
1017 | 1017 | ||
1018 | static void __rsnd_dai_probe(struct rsnd_priv *priv, | 1018 | static void __rsnd_dai_probe(struct rsnd_priv *priv, |
1019 | struct device_node *dai_np, | 1019 | struct device_node *dai_np, |
1020 | int dai_i, int is_graph) | 1020 | int dai_i) |
1021 | { | 1021 | { |
1022 | struct device_node *playback, *capture; | 1022 | struct device_node *playback, *capture; |
1023 | struct rsnd_dai_stream *io_playback; | 1023 | struct rsnd_dai_stream *io_playback; |
@@ -1116,13 +1116,13 @@ static int rsnd_dai_probe(struct rsnd_priv *priv) | |||
1116 | dai_i = 0; | 1116 | dai_i = 0; |
1117 | if (is_graph) { | 1117 | if (is_graph) { |
1118 | for_each_endpoint_of_node(dai_node, dai_np) { | 1118 | for_each_endpoint_of_node(dai_node, dai_np) { |
1119 | __rsnd_dai_probe(priv, dai_np, dai_i, is_graph); | 1119 | __rsnd_dai_probe(priv, dai_np, dai_i); |
1120 | rsnd_ssi_parse_hdmi_connection(priv, dai_np, dai_i); | 1120 | rsnd_ssi_parse_hdmi_connection(priv, dai_np, dai_i); |
1121 | dai_i++; | 1121 | dai_i++; |
1122 | } | 1122 | } |
1123 | } else { | 1123 | } else { |
1124 | for_each_child_of_node(dai_node, dai_np) | 1124 | for_each_child_of_node(dai_node, dai_np) |
1125 | __rsnd_dai_probe(priv, dai_np, dai_i++, is_graph); | 1125 | __rsnd_dai_probe(priv, dai_np, dai_i++); |
1126 | } | 1126 | } |
1127 | 1127 | ||
1128 | return 0; | 1128 | return 0; |