aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 84d1d799a0df..6cac04595ccd 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -677,6 +677,8 @@ static int is_connected_output_ep(struct snd_soc_dapm_widget *widget)
677 } 677 }
678 678
679 list_for_each_entry(path, &widget->sinks, list_source) { 679 list_for_each_entry(path, &widget->sinks, list_source) {
680 DAPM_UPDATE_STAT(widget, neighbour_checks);
681
680 if (path->weak) 682 if (path->weak)
681 continue; 683 continue;
682 684
@@ -732,6 +734,8 @@ static int is_connected_input_ep(struct snd_soc_dapm_widget *widget)
732 } 734 }
733 735
734 list_for_each_entry(path, &widget->sources, list_sink) { 736 list_for_each_entry(path, &widget->sources, list_sink) {
737 DAPM_UPDATE_STAT(widget, neighbour_checks);
738
735 if (path->weak) 739 if (path->weak)
736 continue; 740 continue;
737 741