summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-30 10:55:14 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-01 14:21:51 +0000
commit4585790d1cde32a5719c24412e9845e031358e08 (patch)
tree1350ab58fb4fa2611c45c96da0c0daa6143b4096 /sound/soc/codecs/wm8994.h
parent604533de0f60c3be6ae99fdaf44d1d79f38b307e (diff)
downloadblackbird-obmc-linux-4585790d1cde32a5719c24412e9845e031358e08.tar.gz
blackbird-obmc-linux-4585790d1cde32a5719c24412e9845e031358e08.zip
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.h1
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;
OpenPOWER on IntegriCloud