asoc: pineapple: fix two times calling of wcd939x_mbhc_hs_detect

Fix two times calling of  wcd939x_mbhc_hs_detect.

Change-Id: Id3d42a4ede8c8ac226e91506d6c69f9dcb2cd401
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
This commit is contained in:
Faiz Nabi Kuchay
2023-10-17 12:24:04 +05:30
committed by Faiz Kuchay
parent 966a448ec3
commit 82df798b83

View File

@@ -1487,7 +1487,6 @@ static int msm_snd_card_late_probe(struct snd_soc_card *card)
default: default:
return -EINVAL; return -EINVAL;
} }
ret = wcd939x_mbhc_hs_detect(component, &wcd_mbhc_cfg);
if (ret) { if (ret) {
dev_err(component->dev, "%s: mbhc hs detect failed, err:%d\n", dev_err(component->dev, "%s: mbhc hs detect failed, err:%d\n",
__func__, ret); __func__, ret);