[alsa-devel] [PATCH] ASoC: dapm: Remove redundant clear_walk() for supply widgets
Mark Brown
broonie at opensource.wolfsonmicro.com
Mon Apr 1 00:37:47 CEST 2013
From: Ryo Tsutsui <Ryo.Tsutsui at wolfsonmicro.com>
We already clear the walked state in dapm_widget_power_check(), no need
to do it again.
Signed-off-by: Ryo Tsutsui <Ryo.Tsutsui at wolfosonmicro.com>
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
sound/soc/soc-dapm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 1896a70..0a395eb 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -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;
}
--
1.7.10.4
More information about the Alsa-devel
mailing list