diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-15 21:22:58 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-16 15:57:43 +0000 |
commit | 7245387e36e16ae918467685c34510606fd74b7c (patch) | |
tree | 40ecf5eb8fb9eaa287c37d0dd99645380d3b0b90 /include/sound/wm8903.h | |
parent | 8abd16a65d81756706016720e2cc7eeb81d06a2e (diff) | |
download | linux-7245387e36e16ae918467685c34510606fd74b7c.tar.bz2 |
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.h | 2 |
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 */ }; |