summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorRyo Tsutsui <ryo.Tsutsui@wolfsonmicro.com>2013-03-31 19:19:09 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-01 22:10:01 +0100
commit0e669246dcd11ad3ecb33a6170a963c4badaa10b (patch)
treedc2d8b9fcbce4da07acbe9d44b0567f8f838c5e7 /sound/soc/soc-dapm.c
parent85762e71f17b59a76e6333d1a796737d080b7517 (diff)
ASoC: dapm: Remove redundant clear_walk() for supply widgets
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>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 687784463db9..7a61b5cc2d4f 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -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;
}