diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-04 02:16:01 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-06 00:05:24 +0000 |
commit | 4752a887190ff38175be47aae26a821e8941b96e (patch) | |
tree | 581377138a993781000857e16b8c5d05bf1a3af4 /sound/soc/codecs/wm8994.h | |
parent | 56cea3f1e7db0ccde9e2ac66df2f920c73c419ef (diff) | |
download | linux-4752a887190ff38175be47aae26a821e8941b96e.tar.gz linux-4752a887190ff38175be47aae26a821e8941b96e.tar.bz2 linux-4752a887190ff38175be47aae26a821e8941b96e.zip |
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.h | 1 |
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 { bool jack_mic; int btn_mask; bool jackdet; + int jackdet_mode; wm8958_micdet_cb jack_cb; void *jack_cb_data; |