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:

committed by
Faiz Kuchay

parent
966a448ec3
commit
82df798b83
@@ -1487,7 +1487,6 @@ static int msm_snd_card_late_probe(struct snd_soc_card *card)
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
ret = wcd939x_mbhc_hs_detect(component, &wcd_mbhc_cfg);
|
||||
if (ret) {
|
||||
dev_err(component->dev, "%s: mbhc hs detect failed, err:%d\n",
|
||||
__func__, ret);
|
||||
|
Reference in New Issue
Block a user