ASoC: Support GPIO based microphone detection for WM8904
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 16 Mar 2010 14:26:45 +0000 (14:26 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 16 Mar 2010 16:03:30 +0000 (16:03 +0000)
commitfbc2dae854da5fc44e2ce2f97446c8bd283c7e17
treec4ae6006cd66ae286036330b40c668431bfe9db3
parentcdce4e9ba7ff86a5f43b971a9af88b25a3f6c9a4
ASoC: Support GPIO based microphone detection for WM8904

The WM8904 allows microphone detection signals to be brought out as
alternate functions of the GPIO signals which can be detected using
interrupt inputs on the CPU. Allow this to be configured using
platform data.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/sound/wm8904.h
sound/soc/codecs/wm8904.c
sound/soc/codecs/wm8904.h