commit | 905f6952c5bc8126f1d82c2eb8a699271080b57e | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Feb 11 14:39:13 2011 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Feb 13 19:50:20 2011 +0000 |
tree | eabfa123b0d71e663441d07880088bf9b8559d75 | |
parent | 8eb34207c8cf90bc991f0141f7d3fa614429a00b [diff] |
ASoC: Warn if WM8903 platform data is used to enable microphone IRQ 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@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>