summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-29 20:28:16 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-29 20:31:33 +0100
commit70bd3b298bbbd5a36c55af957bb3b5f727218918 (patch)
tree163f0ec0d44177c831b00aa0cc2d143240d95570 /sound/soc/codecs/wm8994.h
parentf7dbd399efff631203be9f09c07f128df18a3ee4 (diff)
downloadop-kernel-dev-70bd3b298bbbd5a36c55af957bb3b5f727218918.zip
op-kernel-dev-70bd3b298bbbd5a36c55af957bb3b5f727218918.tar.gz
ASoC: wm8994: Defer declaration of open circuit microphones
Provide a bit of debounce to handle pathological cases with slow input better by allowing the microphone detection to run for a bit longer. 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 55ddf4d..9d19a91 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -134,6 +134,7 @@ struct wm8994_priv {
struct mutex accdet_lock;
struct wm8994_micdet micdet[2];
struct delayed_work mic_work;
+ struct delayed_work open_circuit_work;
bool mic_detecting;
bool jack_mic;
int btn_mask;
OpenPOWER on IntegriCloud