aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/wm8903.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-15 17:22:58 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-16 11:57:43 -0400
commit7245387e36e16ae918467685c34510606fd74b7c (patch)
tree40ecf5eb8fb9eaa287c37d0dd99645380d3b0b90 /include/sound/wm8903.h
parent8abd16a65d81756706016720e2cc7eeb81d06a2e (diff)
ASoC: Implement interrupt driven microphone detection for WM8903
Support use of the WM8903 IRQ for reporting of microphone presence and short detection. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound/wm8903.h')
-rw-r--r--include/sound/wm8903.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/wm8903.h b/include/sound/wm8903.h
index 49bb1a844bfc..b4a0db2307ef 100644
--- a/include/sound/wm8903.h
+++ b/include/sound/wm8903.h
@@ -241,6 +241,8 @@ struct wm8903_platform_data {
241 */ 241 */
242 u16 micdet_cfg; 242 u16 micdet_cfg;
243 243
244 int micdet_delay; /* Delay after microphone detection (ms) */
245
244 u32 gpio_cfg[5]; /* Default register values for GPIO pin mux */ 246 u32 gpio_cfg[5]; /* Default register values for GPIO pin mux */
245}; 247};
246 248