Skip to contentSkip to conversation

ASoC: dapm: Remove redundant clear_walk() for supply widgets

PATCH In review Mark Brown 2 participants 2 messages Mar 31, 2013 – Apr 1, 2013

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: dapm: Remove redundant clear_walk() for supply widgets

From: Ryo Tsutsui <[email protected]>

We already clear the walked state in dapm_widget_power_check(), no need to do it again.

---
 sound/soc/soc-dapm.c |    2 --
 1 file changed, 2 deletions(-)
sound/soc/soc-dapm.c +0 -2
index 1896a70..0a395eb 100644
@@ -1179,8 +1179,6 @@ static int dapm_supply_check_power(struct snd_soc_dapm_widget *w)
 			return 1;
 	}
 
-	dapm_clear_walk(w->dapm);
-
 	return 0;
 }
 
Signature · 1 line
1.7.10.4