summaryrefslogtreecommitdiff
path: root/include/linux/mfd/wm8994
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-30 16:42:29 +0400
committerMark Brown <broonie@linaro.org>2013-06-01 22:28:58 +0400
commit2da1c4bf765cb32024e5db6fa75dab92916fa3b1 (patch)
treedbf9c6619cb1c0257398959c4a58d4b30f52b850 /include/linux/mfd/wm8994
parent2d01e39b9073361317eb72b390dc2a4a3d76e192 (diff)
downloadlinux-2da1c4bf765cb32024e5db6fa75dab92916fa3b1.tar.xz
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/linux/mfd/wm8994')
-rw-r--r--include/linux/mfd/wm8994/pdata.h5
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.
*/