diff options
Diffstat (limited to 'sound/soc/codecs/twl6040.h')
-rw-r--r-- | sound/soc/codecs/twl6040.h | 8 |
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 @@ | |||
79 | 79 | ||
80 | /* INTMR (0x04) fields */ | 80 | /* INTMR (0x04) fields */ |
81 | 81 | ||
82 | #define TWL6040_PLUGMSK 0x02 | ||
82 | #define TWL6040_READYMSK 0x40 | 83 | #define TWL6040_READYMSK 0x40 |
83 | #define TWL6040_ALLINT_MSK 0x7B | 84 | #define TWL6040_ALLINT_MSK 0x7B |
84 | 85 | ||
@@ -135,4 +136,11 @@ | |||
135 | #define TWL6040_HPPLL_ID 1 | 136 | #define TWL6040_HPPLL_ID 1 |
136 | #define TWL6040_LPPLL_ID 2 | 137 | #define TWL6040_LPPLL_ID 2 |
137 | 138 | ||
139 | /* STATUS (0x2E) fields */ | ||
140 | |||
141 | #define TWL6040_PLUGCOMP 0x02 | ||
142 | |||
143 | void twl6040_hs_jack_detect(struct snd_soc_codec *codec, | ||
144 | struct snd_soc_jack *jack, int report); | ||
145 | |||
138 | #endif /* End of __TWL6040_H__ */ | 146 | #endif /* End of __TWL6040_H__ */ |