From: Mark Brown Date: Wed, 28 Sep 2011 17:20:26 +0000 (+0100) Subject: ASoC: Also count neighbour checks for supplies X-Git-Tag: upstream/snapshot3+hdmi~7307^2~739 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8fdac83a3703c7f35d4efe37a14e38aa256919b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ASoC: Also count neighbour checks for supplies Missed when the stat was originally added. Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 2bde6b0..c277228 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;