ASoC: dapm: Remove redundant clear_walk() for supply widgets
authorRyo Tsutsui <ryo.Tsutsui@wolfsonmicro.com>
Sun, 31 Mar 2013 18:19:09 +0000 (19:19 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 21:10:01 +0000 (22:10 +0100)
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>
sound/soc/soc-dapm.c

index 687784463db9a6732769eddcbeb6f22b246d4db3..7a61b5cc2d4f315994c118c87ca835e71604323b 100644 (file)
@@ -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;
 }