aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-01 14:21:48 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-02 06:54:06 -0400
commitcd59e79656f4e7137909166248a935d422b1245a (patch)
tree008f928dbea75080e8498ae48b9af2ebac8c4b04 /include
parent41a57850b5e5c450da351465efcc41383def7f8a (diff)
extcon: arizona: Allow additional debounce during microphone detection
Help mitigate against mechanical bounce during the initial detection by allowing the configuration of an additional debounce on top of that the hardware does during the initial phase of microphone detection operation. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/arizona/pdata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/pdata.h b/include/linux/mfd/arizona/pdata.h
index 45c84777c624..3ef300baa2e6 100644
--- a/include/linux/mfd/arizona/pdata.h
+++ b/include/linux/mfd/arizona/pdata.h
@@ -134,6 +134,9 @@ struct arizona_pdata {
134 /** GPIO used for mic isolation with HPDET */ 134 /** GPIO used for mic isolation with HPDET */
135 int hpdet_id_gpio; 135 int hpdet_id_gpio;
136 136
137 /** Extra debounce timeout used during initial mic detection (ms) */
138 int micd_detect_debounce;
139
137 /** GPIO for mic detection polarity */ 140 /** GPIO for mic detection polarity */
138 int micd_pol_gpio; 141 int micd_pol_gpio;
139 142