summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/twl6040.h
diff options
context:
space:
mode:
authorMisael Lopez Cruz <misael.lopez@ti.com>2010-12-11 04:06:24 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-12-14 21:36:59 +0100
commit4f44ee1f494edef1fea3db20565b2e209bef6280 (patch)
tree3eab00c19262d6c2ddfea2dbdf1c91577f379feb /sound/soc/codecs/twl6040.h
parentASoC: twl6040: Clear interrupt status at boot time (diff)
downloadlinux-4f44ee1f494edef1fea3db20565b2e209bef6280.tar.xz
linux-4f44ee1f494edef1fea3db20565b2e209bef6280.zip
ASoC: twl6040: Enable plug detection interrupts
Enable plug detection interrupt mask in order to get headset PLUGINT/UNPLUGINT interrupts. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/twl6040.h')
-rw-r--r--sound/soc/codecs/twl6040.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl6040.h b/sound/soc/codecs/twl6040.h
index 67396f63c1ec..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