diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-30 14:55:14 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-01 18:21:51 +0400 |
commit | 4585790d1cde32a5719c24412e9845e031358e08 (patch) | |
tree | 1350ab58fb4fa2611c45c96da0c0daa6143b4096 /sound/soc/codecs/wm8994.h | |
parent | 604533de0f60c3be6ae99fdaf44d1d79f38b307e (diff) | |
download | linux-4585790d1cde32a5719c24412e9845e031358e08.tar.xz |
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 { struct wm8994_micdet micdet[2]; bool detecting; bool jack_mic; + int btn_mask; wm8958_micdet_cb jack_cb; void *jack_cb_data; |