summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-21 19:19:14 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-22 18:24:40 +0200
commite56235e099d7290a2331b984a79f75bbe0865fe8 (patch)
tree7fdd1e4603b12a56502242f32e02c1d97fe23231 /include/sound
parentASoC: Dynamically manage DBVDD2 and DBVDD3 on WM5100 (diff)
downloadlinux-e56235e099d7290a2331b984a79f75bbe0865fe8.tar.xz
linux-e56235e099d7290a2331b984a79f75bbe0865fe8.zip
ASoC: Add another DAPM stat for neighbour checks
The number of times we look at a potentially connected neighbour is just as important as the number of times we actually recurse into looking at that neighbour so also collect that statistic. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dapm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 0e2d01713cb6..bb5953219d0b 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -540,6 +540,7 @@ struct snd_soc_dapm_widget_list {
struct snd_soc_dapm_stats {
int power_checks;
int path_checks;
+ int neighbour_checks;
};
#endif