ASoC: msm8226: Disable headset detection
Disable headset detection by default since Multi Button Headset
Control (MBHC) feature is not yet available
Change-Id: Iac19243d33cd5eaed899f243aa0a08251c19ebed
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
diff --git a/sound/soc/codecs/wcd9306.c b/sound/soc/codecs/wcd9306.c
index 6aa0ad0..634493b 100644
--- a/sound/soc/codecs/wcd9306.c
+++ b/sound/soc/codecs/wcd9306.c
@@ -4226,12 +4226,7 @@
return ret;
}
- /* init and start mbhc */
- ret = wcd9xxx_mbhc_init(&tapan->mbhc, &tapan->resmgr, codec);
- if (ret) {
- pr_err("%s: mbhc init failed %d\n", __func__, ret);
- return ret;
- }
+ /* TODO: wcd9xxx_mbhc_init to enable mbhc */
tapan->codec = codec;
for (i = 0; i < COMPANDER_MAX; i++) {