summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5100.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-27 17:39:50 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-11 18:59:01 +0100
commitba896ede9a9a54a9114ee2a4fe534328078c6b02 (patch)
tree887d21c0965bf7af4a5d711ad697aac45c831e18 /sound/soc/codecs/wm5100.h
parent3a53d827292b657afcb73495cac139371cb157e1 (diff)
ASoC: Implement WM5100 accessory detection support
The WM5100 includes an advanced, low power, accessory detect subsystem capable of detecting both accessory presence and button presses while the device is in an ultra low power mode. Implement initial support for this. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm5100.h')
-rw-r--r--sound/soc/codecs/wm5100.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5100.h b/sound/soc/codecs/wm5100.h
index 345b3cffe6f..fa32b124637 100644
--- a/sound/soc/codecs/wm5100.h
+++ b/sound/soc/codecs/wm5100.h
@@ -16,6 +16,8 @@
#include <sound/soc.h>
+int wm5100_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
+
#define WM5100_CLK_AIF1 1
#define WM5100_CLK_AIF2 2
#define WM5100_CLK_AIF3 3