Skip to content

Commit

Permalink
ASoC: dapm: Remove redundant clear_walk() for supply widgets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ryo Tsutsui authored and Mark Brown committed Apr 1, 2013
1 parent 85762e7 commit 0e66924
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0e66924

Please sign in to comment.