ASoC: dapm: Remove redundant clear_walk() for supply widgets
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.
Signed-off-by Ryo Tsutsui <[email protected]>
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/soc-dapm.c | 2 -- 1 file changed, 2 deletions(-)
sound/soc/soc-dapm.c +0 -2
@@ -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
Quoted 7 lines · Mark Brown
From: Ryo Tsutsui <[email protected]>
We already clear the walked state in
dapm_widget_power_check(), no need to do it again.Signed-off-by Ryo Tsutsui <[email protected]>Signed-off-by Mark Brown <[email protected]>
Acked-by Liam Girdwood <[email protected]>