aboutsummaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown2010-03-15 21:22:58 +0000
committerMark Brown2010-03-16 15:57:43 +0000
commit7245387e36e16ae918467685c34510606fd74b7c (patch)
tree40ecf5eb8fb9eaa287c37d0dd99645380d3b0b90 /include/sound
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')
-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 {
*/
u16 micdet_cfg;
+ int micdet_delay; /* Delay after microphone detection (ms) */
+
u32 gpio_cfg[5]; /* Default register values for GPIO pin mux */
};