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

Commit 864ea9fc authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: dp: fix programming of audio ACR control



Fix the programming of the audio ACR control by clearing
the previous value first, and then ensuring that the audio
engine is updated with the correct link rate value. This
ensures that audio playback will be done at the correct
audio clock rate.

CRs-Fixed: 1091543
Change-Id: I392592735ecc46253fc9bc07ae91848dd5d1018a
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent 24377df2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1051,8 +1051,6 @@ void mdss_dp_config_audio_acr_ctrl(struct dss_io_data *ctrl_io, char link_rate)
	u32 acr_ctrl = 0;
	u32 select = 0;

	acr_ctrl = readl_relaxed(ctrl_io->base + MMSS_DP_AUDIO_ACR_CTRL);

	switch (link_rate) {
	case DP_LINK_RATE_162:
		select = 0;