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 <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
This commit is contained in:
Mark Brown 2010-03-15 21:22:58 +00:00
commit 7245387e36
3 changed files with 109 additions and 3 deletions

View file

@ -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 */
};