summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-13 04:57:18 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-29 21:22:00 +0100
commitb00adf76a6fa492c39f8225fc42debc01bbbdc1d (patch)
treeab0f53480c9a0a4dc57a61ce15bade43f5748fd7 /sound/soc/codecs/wm8994.h
parentASoC: Put WM8958 and WM1811 MICBIAS into bypass mode when no audio (diff)
downloadlinux-b00adf76a6fa492c39f8225fc42debc01bbbdc1d.tar.xz
linux-b00adf76a6fa492c39f8225fc42debc01bbbdc1d.zip
ASoC: Enhance default WM8958 microphone detection
Actively manage the detection rate for microphones with WM8958, providing improved power consumption and maximising the benefit from the hardware debounce. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r--sound/soc/codecs/wm8994.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h
index f4f1355efc82..1087425cbac0 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -126,6 +126,8 @@ struct wm8994_priv {
struct soc_enum enh_eq_enum;
struct wm8994_micdet micdet[2];
+ bool detecting;
+ bool jack_mic;
wm8958_micdet_cb jack_cb;
void *jack_cb_data;