aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_hubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm_hubs.h')
-rw-r--r--sound/soc/codecs/wm_hubs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_hubs.h b/sound/soc/codecs/wm_hubs.h
index ec09cb6a2939..e51c16683589 100644
--- a/sound/soc/codecs/wm_hubs.h
+++ b/sound/soc/codecs/wm_hubs.h
@@ -18,7 +18,19 @@ struct snd_soc_codec;
18 18
19extern const unsigned int wm_hubs_spkmix_tlv[]; 19extern const unsigned int wm_hubs_spkmix_tlv[];
20 20
21/* This *must* be the first element of the codec->private_data struct */
22struct wm_hubs_data {
23 int dcs_codes;
24 int dcs_readback_mode;
25 int hp_startup_mode;
26};
27
21extern int wm_hubs_add_analogue_controls(struct snd_soc_codec *); 28extern int wm_hubs_add_analogue_controls(struct snd_soc_codec *);
22extern int wm_hubs_add_analogue_routes(struct snd_soc_codec *, int, int); 29extern int wm_hubs_add_analogue_routes(struct snd_soc_codec *, int, int);
30extern int wm_hubs_handle_analogue_pdata(struct snd_soc_codec *,
31 int lineout1_diff, int lineout2_diff,
32 int lineout1fb, int lineout2fb,
33 int jd_scthr, int jd_thr,
34 int micbias1_lvl, int micbias2_lvl);
23 35
24#endif 36#endif