summaryrefslogtreecommitdiff
path: root/include/sound/wm8903.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-15 21:22:58 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-16 15:57:43 (GMT)
commit7245387e36e16ae918467685c34510606fd74b7c (patch)
tree40ecf5eb8fb9eaa287c37d0dd99645380d3b0b90 /include/sound/wm8903.h
parent8abd16a65d81756706016720e2cc7eeb81d06a2e (diff)
downloadlinux-7245387e36e16ae918467685c34510606fd74b7c.tar.xz
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 49bb1a8..b4a0db23 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 */
};