浏览代码

ASoC: Also count neighbour checks for supplies

Missed when the stat was originally added.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 14 年之前
父节点
当前提交
a8fdac83a3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      sound/soc/soc-dapm.c

+ 2 - 0
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;