diff options
author | Joonwoo Park <joonwoop@codeaurora.org> | 2013-04-26 11:19:46 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2013-09-04 16:43:49 -0700 |
commit | 3d2e168d5c383b5dee13908482ee4c64f9aabd36 (patch) | |
tree | b706d20361f691de62a4632a4d0b7ca162dc9a12 /sound/soc/msm/msm8226.c | |
parent | bf58e5fca3b192c037edcd93dc6bcbe99cc732f5 (diff) |
ASoC: wcd9xxx: maintain micbias for headsets have threshold on mic
There are headsets that require to maintain micbias while it's plugged
since mic of headsets have threshold to turn on mic.
Maintain micbias when this type of headset is detected in order to detect
headset button press.
CRs-fixed: 471512
Change-Id: If3caab97fe5187c91753756482ba425a3ba14118
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'sound/soc/msm/msm8226.c')
-rw-r--r-- | sound/soc/msm/msm8226.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c index aee1a647751e..3cc4fe35943c 100644 --- a/sound/soc/msm/msm8226.c +++ b/sound/soc/msm/msm8226.c @@ -72,6 +72,7 @@ static struct wcd9xxx_mbhc_config mbhc_cfg = { .gpio_irq = 0, .gpio_level_insert = 0, .detect_extn_cable = true, + .micbias_enable_flags = 0, .insert_detect = true, .swap_gnd_mic = NULL, }; |