summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-28 19:20:26 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-28 20:42:12 +0200
commita8fdac83a3703c7f35d4efe37a14e38aa256919b (patch)
tree5819e6bd44fdb2e8bc1c5b301486ef2147a857bf /sound
parentASoC: Use dai_fmt in speyside_wm8962 (diff)
downloadlinux-a8fdac83a3703c7f35d4efe37a14e38aa256919b.tar.xz
linux-a8fdac83a3703c7f35d4efe37a14e38aa256919b.zip
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')
-rw-r--r--sound/soc/soc-dapm.c2
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)
/* Check if one of our outputs is connected */
list_for_each_entry(path, &w->sinks, list_source) {
+ DAPM_UPDATE_STAT(w, neighbour_checks);
+
if (path->weak)
continue;