Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2034aa0a authored by Yeleswarapu Nagaradhesh's avatar Yeleswarapu Nagaradhesh Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: initiate mbhc_start only once



MBHC init is called twice due to which some of
the variables are re-initialised twice. Which is
leading to crash during stability tests with headset connected.

CRs-Fixed: 1080020
Change-Id: I48fddbcb846b578ceb39eadffdc067c798a48be6
Signed-off-by: default avatarYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
parent 64120cd2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1598,7 +1598,7 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd)
			return ret;
		}
	}
	return msm8x16_wcd_hs_detect(codec, &mbhc_cfg);
	return 0;
}

static struct snd_soc_ops msm8952_quat_mi2s_be_ops = {