Skip to contentSkip to conversation

ASoC: Also count neighbour checks for supplies

PATCH New Mark Brown 1 participant 1 message Sep 28, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Also count neighbour checks for supplies

Missed when the stat was originally added.

---
 sound/soc/soc-dapm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/soc-dapm.c +2 -0
index 5434767..12bd01a 100644
@@ -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;
 
Signature · 1 line
1.7.6.3