asoc: alc5639: Fix headset detection issue
Manoj Gangwal [Wed, 27 Nov 2013 12:57:37 +0000 (17:57 +0530)]
Bug 1413832

Change-Id: I483bdefe486d838cd2dfb60529bd6d6258ba478b
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/336200
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

sound/soc/codecs/rt5639.c

index 0fbf130..04cec14 100644 (file)
@@ -533,7 +533,7 @@ int rt5639_headset_detect(struct snd_soc_codec *codec, int jack_insert)
                snd_soc_update_bits(codec, RT5639_MICBIAS,
                        RT5639_MIC1_OVCD_MASK | RT5639_MIC1_OVTH_MASK |
                        RT5639_PWR_CLK25M_MASK | RT5639_PWR_MB_MASK,
-                       RT5639_MIC1_OVCD_EN | RT5639_MIC1_OVTH_600UA |
+                       RT5639_MIC1_OVCD_EN | RT5639_MIC1_OVTH_1500UA |
                        RT5639_PWR_MB_PU | RT5639_PWR_CLK25M_PU);
                snd_soc_update_bits(codec, RT5639_GEN_CTRL1,
                        0x1, 0x1);