mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 21:45:08 -04:00
ASoC: Also count neighbour checks for supplies
Missed when the stat was originally added. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user