From: Ryo Tsutsui <ryo.Tsutsui@wolfsonmicro.com>
Date: Sun, 31 Mar 2013 18:19:09 +0000 (+0100)
Subject: ASoC: dapm: Remove redundant clear_walk() for supply widgets
X-Git-Tag: firefly_0821_release~3680^2~496^2~53^2~19^2~1
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0e669246dcd11ad3ecb33a6170a963c4badaa10b;p=firefly-linux-kernel-4.4.55.git

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>
---

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)
 			return 1;
 	}
 
-	dapm_clear_walk(w->dapm);
-
 	return 0;
 }