From 4752a887190ff38175be47aae26a821e8941b96e Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Sun, 4 Mar 2012 02:16:01 +0000 Subject: 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 --- sound/soc/codecs/wm8994.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/soc/codecs/wm8994.h') 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 { bool jack_mic; int btn_mask; bool jackdet; + int jackdet_mode; wm8958_micdet_cb jack_cb; void *jack_cb_data; -- cgit v1.2.3