diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-28 13:20:26 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-28 14:42:12 -0400 |
commit | a8fdac83a3703c7f35d4efe37a14e38aa256919b (patch) | |
tree | 5819e6bd44fdb2e8bc1c5b301486ef2147a857bf /sound/soc/soc-dapm.c | |
parent | 44fdd4338749739692715f24907c450f6f410da3 (diff) |
ASoC: Also count neighbour checks for supplies
Missed when the stat was originally added.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 2bde6b0c038b..c277228ec967 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -828,6 +828,8 @@ static int dapm_supply_check_power(struct snd_soc_dapm_widget *w) | |||
828 | 828 | ||
829 | /* Check if one of our outputs is connected */ | 829 | /* Check if one of our outputs is connected */ |
830 | list_for_each_entry(path, &w->sinks, list_source) { | 830 | list_for_each_entry(path, &w->sinks, list_source) { |
831 | DAPM_UPDATE_STAT(w, neighbour_checks); | ||
832 | |||
831 | if (path->weak) | 833 | if (path->weak) |
832 | continue; | 834 | continue; |
833 | 835 | ||