diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 13:42:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-01 19:28:58 +0100 |
commit | 2da1c4bf765cb32024e5db6fa75dab92916fa3b1 (patch) | |
tree | dbf9c6619cb1c0257398959c4a58d4b30f52b850 /sound/soc/codecs/wm8994.h | |
parent | 2d01e39b9073361317eb72b390dc2a4a3d76e192 (diff) | |
download | blackbird-op-linux-2da1c4bf765cb32024e5db6fa75dab92916fa3b1.tar.gz blackbird-op-linux-2da1c4bf765cb32024e5db6fa75dab92916fa3b1.zip |
ASoC: wm8994: Allow debounce before MICDET identification
For systems which do not have a jack detection feature allow some debounce
to be specified before we perform accessory identification, improving
robustness without impacting button detection responsiveness.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index 9d19a9185d35..6536f8d45ac6 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h @@ -135,6 +135,8 @@ struct wm8994_priv { struct wm8994_micdet micdet[2]; struct delayed_work mic_work; struct delayed_work open_circuit_work; + struct delayed_work mic_complete_work; + u16 mic_status; bool mic_detecting; bool jack_mic; int btn_mask; |