aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-03 21:16:01 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-05 19:05:24 -0500
commit4752a887190ff38175be47aae26a821e8941b96e (patch)
tree581377138a993781000857e16b8c5d05bf1a3af4 /sound/soc/codecs/wm8994.h
parent56cea3f1e7db0ccde9e2ac66df2f920c73c419ef (diff)
ASoC: wm8994: Use audio mode for jack detection when system is active
When we are out of system sleep always use audio mode for jack detection in order to avoid potential performance issues handing off between modes. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r--sound/soc/codecs/wm8994.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h
index f996d14766d9..2f4d2d12a452 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -122,6 +122,7 @@ struct wm8994_priv {
122 bool jack_mic; 122 bool jack_mic;
123 int btn_mask; 123 int btn_mask;
124 bool jackdet; 124 bool jackdet;
125 int jackdet_mode;
125 126
126 wm8958_micdet_cb jack_cb; 127 wm8958_micdet_cb jack_cb;
127 void *jack_cb_data; 128 void *jack_cb_data;