diff options
author | Ryo Tsutsui <ryo.Tsutsui@wolfsonmicro.com> | 2013-03-31 14:19:09 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-01 17:10:01 -0400 |
commit | 0e669246dcd11ad3ecb33a6170a963c4badaa10b (patch) | |
tree | dc2d8b9fcbce4da07acbe9d44b0567f8f838c5e7 | |
parent | 85762e71f17b59a76e6333d1a796737d080b7517 (diff) |
ASoC: dapm: Remove redundant clear_walk() for supply widgets
We already clear the walked state in dapm_widget_power_check(), no need
to do it again.
Signed-off-by: Ryo Tsutsui <Ryo.Tsutsui@wolfsonmicro.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 687784463db9..7a61b5cc2d4f 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -1165,8 +1165,6 @@ static int dapm_supply_check_power(struct snd_soc_dapm_widget *w) | |||
1165 | return 1; | 1165 | return 1; |
1166 | } | 1166 | } |
1167 | 1167 | ||
1168 | dapm_clear_walk(w->dapm); | ||
1169 | |||
1170 | return 0; | 1168 | return 0; |
1171 | } | 1169 | } |
1172 | 1170 | ||