summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-16 18:54:12 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-17 12:27:19 +0300
commit2a0761a35b70f170a9c14ecbcb6a959fb6e7bdf3 (patch)
tree545aa27b2a00a3494c046e0856a5b30e4724475a /include/linux/mfd
parentfbc2dae854da5fc44e2ce2f97446c8bd283c7e17 (diff)
downloadlinux-2a0761a35b70f170a9c14ecbcb6a959fb6e7bdf3.tar.xz
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 'include/linux/mfd')
-rw-r--r--include/linux/mfd/wm8350/audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8350/audio.h b/include/linux/mfd/wm8350/audio.h
index d899dc0223ba..a95141eafce3 100644
--- a/include/linux/mfd/wm8350/audio.h
+++ b/include/linux/mfd/wm8350/audio.h
@@ -492,6 +492,8 @@
*/
#define WM8350_JACK_L_LVL 0x0800
#define WM8350_JACK_R_LVL 0x0400
+#define WM8350_JACK_MICSCD_LVL 0x0200
+#define WM8350_JACK_MICSD_LVL 0x0100
/*
* WM8350 Platform setup