ASoC: Also count neighbour checks for supplies
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Sep 2011 17:20:26 +0000 (18:20 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Sep 2011 18:42:12 +0000 (19:42 +0100)
Missed when the stat was originally added.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c

index 2bde6b0c038b3529faafd46a0857f0b185b22c5c..c277228ec967e3fc665abda1ea85c93a9353c9d7 100644 (file)
@@ -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;