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 /include | |
parent | 2d01e39b9073361317eb72b390dc2a4a3d76e192 (diff) | |
download | linux-2da1c4bf765cb32024e5db6fa75dab92916fa3b1.tar.gz linux-2da1c4bf765cb32024e5db6fa75dab92916fa3b1.tar.bz2 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 'include')
-rw-r--r-- | include/linux/mfd/wm8994/pdata.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h index 68e776594889..b5046f6313a9 100644 --- a/include/linux/mfd/wm8994/pdata.h +++ b/include/linux/mfd/wm8994/pdata.h @@ -182,6 +182,11 @@ struct wm8994_pdata { */ int micdet_delay; + /* Delay between microphone detect completing and reporting on + * insert (specified in ms) + */ + int mic_id_delay; + /* IRQ for microphone detection if brought out directly as a * signal. */ |