summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8350.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-16 15:54:12 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-17 09:27:19 +0000
commit2a0761a35b70f170a9c14ecbcb6a959fb6e7bdf3 (patch)
tree545aa27b2a00a3494c046e0856a5b30e4724475a /sound/soc/codecs/wm8350.h
parentfbc2dae854da5fc44e2ce2f97446c8bd283c7e17 (diff)
ASoC: Implement WM835x microphone jack detection support
The WM8350 provides microphone presence and short circuit detection. Integrate this with the ASoC jack reporting API. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8350.h')
-rw-r--r--sound/soc/codecs/wm8350.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8350.h b/sound/soc/codecs/wm8350.h
index d088eb4b88bb..9ed0467c71db 100644
--- a/sound/soc/codecs/wm8350.h
+++ b/sound/soc/codecs/wm8350.h
@@ -25,5 +25,8 @@ enum wm8350_jack {
int wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which,
struct snd_soc_jack *jack, int report);
+int wm8350_mic_jack_detect(struct snd_soc_codec *codec,
+ struct snd_soc_jack *jack,
+ int detect_report, int short_report);
#endif