diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-30 05:55:14 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-01 09:21:51 -0500 |
commit | 4585790d1cde32a5719c24412e9845e031358e08 (patch) | |
tree | 1350ab58fb4fa2611c45c96da0c0daa6143b4096 /sound/soc/codecs/wm8994.h | |
parent | 604533de0f60c3be6ae99fdaf44d1d79f38b307e (diff) |
ASoC: Allow more WM8958/WM1811 button levels with default handler
The WM8958 and WM1811 support detecting a range of buttons. Allow the
user to provide platform data enabling more of these levels without
having to write a custom detection handler.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r-- | sound/soc/codecs/wm8994.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index c3e71d72eb6a..77e3d8c9eeb8 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h | |||
@@ -129,6 +129,7 @@ struct wm8994_priv { | |||
129 | struct wm8994_micdet micdet[2]; | 129 | struct wm8994_micdet micdet[2]; |
130 | bool detecting; | 130 | bool detecting; |
131 | bool jack_mic; | 131 | bool jack_mic; |
132 | int btn_mask; | ||
132 | 133 | ||
133 | wm8958_micdet_cb jack_cb; | 134 | wm8958_micdet_cb jack_cb; |
134 | void *jack_cb_data; | 135 | void *jack_cb_data; |