summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-21 18:19:14 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-22 17:24:40 +0100
commite56235e099d7290a2331b984a79f75bbe0865fe8 (patch)
tree7fdd1e4603b12a56502242f32e02c1d97fe23231 /include/sound/soc-dapm.h
parent7aefb086c15fc44066e705e479d012d46476d8c5 (diff)
downloadop-kernel-dev-e56235e099d7290a2331b984a79f75bbe0865fe8.zip
op-kernel-dev-e56235e099d7290a2331b984a79f75bbe0865fe8.tar.gz
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/soc-dapm.h')
-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 0e2d017..bb59532 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
OpenPOWER on IntegriCloud