diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-29 15:28:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-29 15:31:33 -0400 |
commit | 70bd3b298bbbd5a36c55af957bb3b5f727218918 (patch) | |
tree | 163f0ec0d44177c831b00aa0cc2d143240d95570 /sound/soc/codecs/wm8994.h | |
parent | f7dbd399efff631203be9f09c07f128df18a3ee4 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index 55ddf4d57d9b..9d19a9185d35 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h | |||
@@ -134,6 +134,7 @@ struct wm8994_priv { | |||
134 | struct mutex accdet_lock; | 134 | struct mutex accdet_lock; |
135 | struct wm8994_micdet micdet[2]; | 135 | struct wm8994_micdet micdet[2]; |
136 | struct delayed_work mic_work; | 136 | struct delayed_work mic_work; |
137 | struct delayed_work open_circuit_work; | ||
137 | bool mic_detecting; | 138 | bool mic_detecting; |
138 | bool jack_mic; | 139 | bool jack_mic; |
139 | int btn_mask; | 140 | int btn_mask; |