[alsa-devel] [PATCH] ASoC: Warn if WM8903 platform data is used to enable microphone IRQ
lrg at slimlogic.co.uk
Sun Feb 13 17:19:23 CET 2011
On Fri, 2011-02-11 at 14:41 +0000, Mark Brown wrote:
> The WM8903 interrupts are clear on read so if the WM8903 detection is
> enabled from platform data when the IRQ is in use (rather than using a
> direct signal from a GPIO) status may be lost during startup. Help users
> spot this misconfiguration by adding a WARN_ON().
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> sound/soc/codecs/wm8903.c | 22 ++++++++++++++++++++++
> 1 files changed, 22 insertions(+), 0 deletions(-)
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
More information about the Alsa-devel