summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/twl6040.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-01-13 10:37:24 +0300
committerTakashi Iwai <tiwai@suse.de>2011-01-13 10:37:24 +0300
commit6db9a0f326d3144d790d9479309df480a8f562e4 (patch)
tree650a8950c35c087278ecee1b8d123f75f601ebc8 /sound/soc/codecs/twl6040.h
parentc400c9e23feb5bb3fbe8a8d4581ecce3b19a2f38 (diff)
parent18b022eb117e7f70c191267551ff865f278a9258 (diff)
downloadlinux-6db9a0f326d3144d790d9479309df480a8f562e4.tar.xz
Merge branch 'topic/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/twl6040.h')
-rw-r--r--sound/soc/codecs/twl6040.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl6040.h b/sound/soc/codecs/twl6040.h
index f7c77fa58a3c..23aeed0963e6 100644
--- a/sound/soc/codecs/twl6040.h
+++ b/sound/soc/codecs/twl6040.h
@@ -79,6 +79,7 @@
/* INTMR (0x04) fields */
+#define TWL6040_PLUGMSK 0x02
#define TWL6040_READYMSK 0x40
#define TWL6040_ALLINT_MSK 0x7B
@@ -135,4 +136,11 @@
#define TWL6040_HPPLL_ID 1
#define TWL6040_LPPLL_ID 2
+/* STATUS (0x2E) fields */
+
+#define TWL6040_PLUGCOMP 0x02
+
+void twl6040_hs_jack_detect(struct snd_soc_codec *codec,
+ struct snd_soc_jack *jack, int report);
+
#endif /* End of __TWL6040_H__ */