summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_hubs.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-26 21:06:56 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-27 19:42:10 +0200
commitaf31a227e1abee06ccd88c2c52f4fb36b786cebe (patch)
tree1d828dbc011d4c8871f851ba4dcf6a3fe45995c7 /sound/soc/codecs/wm_hubs.h
parentASoC: dpcm: Fixup debugFS for DPCM state. (diff)
downloadlinux-af31a227e1abee06ccd88c2c52f4fb36b786cebe.tar.xz
linux-af31a227e1abee06ccd88c2c52f4fb36b786cebe.zip
ASoC: wm_hubs: Special case headphones for digital paths in more use cases
The optimisations which we can do with caching the headphone DCS result in wm_hubs have only been enabled in cases where class W is enabled. However, there are more use cases which can benefit from the cache, especially with WM8994 series devices with their more advanced digital routing. Rather than keying off the class W information from the CODECs have a check in wm_hubs for a suitable path and use that to determine if we can deploy our headphone optimisations. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_hubs.h')
-rw-r--r--sound/soc/codecs/wm_hubs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm_hubs.h b/sound/soc/codecs/wm_hubs.h
index 5705276f4943..8bb9f1b51bf3 100644
--- a/sound/soc/codecs/wm_hubs.h
+++ b/sound/soc/codecs/wm_hubs.h
@@ -30,9 +30,8 @@ struct wm_hubs_data {
int series_startup;
int no_series_update;
- bool no_cache_class_w;
- bool class_w;
- u16 class_w_dcs;
+ bool no_cache_dac_hp_direct;
+ u16 dac_hp_direct_dcs;
bool lineout1_se;
bool lineout1n_ena;