summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-10-05 07:50:11 +0200
committerTakashi Iwai <tiwai@suse.de>2010-10-05 07:50:11 +0200
commit45605a87b3f34fb71bbc6446e2d49a469e9e10dd (patch)
treefe46494f2f390288edf1b1a0b02fabf6d4a739a0 /sound/soc/codecs/wm8962.h
parenta09f73fabbeac81f45969ad9ed59e74fae736873 (diff)
parent6c20c807cf5a13f61193d39bb718f7a9b5df3813 (diff)
Merge branch 'for-2.6.37' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into topic/asoc
Diffstat (limited to 'sound/soc/codecs/wm8962.h')
-rw-r--r--sound/soc/codecs/wm8962.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.h b/sound/soc/codecs/wm8962.h
index 6145399acb1..2af6c9371fc 100644
--- a/sound/soc/codecs/wm8962.h
+++ b/sound/soc/codecs/wm8962.h
@@ -14,6 +14,7 @@
#define _WM8962_H
#include <asm/types.h>
+#include <sound/soc.h>
#define WM8962_SYSCLK_MCLK 1
#define WM8962_SYSCLK_FLL 2
@@ -181,6 +182,7 @@
#define WM8962_EQ39 0x175
#define WM8962_EQ40 0x176
#define WM8962_EQ41 0x177
+#define WM8962_GPIO_BASE 0x200
#define WM8962_GPIO_2 0x201
#define WM8962_GPIO_3 0x202
#define WM8962_GPIO_5 0x204
@@ -3784,4 +3786,6 @@ struct wm8962_reg_access {
extern
const struct wm8962_reg_access wm8962_reg_access[WM8962_MAX_REGISTER + 1];
+int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
+
#endif