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