summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>2016-10-26 12:37:09 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-06 05:00:37 -0800
commit35e337736820dd9976363c5887c32142056ab097 (patch)
tree9e981756a0e488c479d66469fdf1e959bd9052b4 /sound
parent2116b44bd37e0245ac3442be3dd094397ce017c9 (diff)
ASoC: wcd-mbhc: change special headset detection count
During slow insertion of headphone, it is detected as special headset. So increase special headset count so that headphone is detected correctly CRs-Fixed: 1052600 Change-Id: I4d8230b2789e0a89d11c8a789511b5a99cd19e67 Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wcd-mbhc-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd-mbhc-v2.c b/sound/soc/codecs/wcd-mbhc-v2.c
index 0549b235fade..dd3b799ee12a 100644
--- a/sound/soc/codecs/wcd-mbhc-v2.c
+++ b/sound/soc/codecs/wcd-mbhc-v2.c
@@ -52,7 +52,7 @@
#define WCD_MBHC_BTN_PRESS_COMPL_TIMEOUT_MS 50
#define ANC_DETECT_RETRY_CNT 7
-#define WCD_MBHC_SPL_HS_CNT 1
+#define WCD_MBHC_SPL_HS_CNT 2
static int det_extn_cable_en;
module_param(det_extn_cable_en, int,