Skip to content

Commit

Permalink
ASoC: Also count neighbour checks for supplies
Browse files Browse the repository at this point in the history
Missed when the stat was originally added.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Sep 28, 2011
1 parent 44fdd43 commit a8fdac8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a8fdac8

Please sign in to comment.