Prechádzať zdrojové kódy

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 <[email protected]>
Faiz Nabi Kuchay 1 rok pred
rodič
commit
82df798b83
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      asoc/pineapple.c

+ 0 - 1
asoc/pineapple.c

@@ -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);