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

Commit 82c2dc69 authored by Ajay Singh Parmar's avatar Ajay Singh Parmar
Browse files

msm: mdss: hdmi: Proper CEC line busy check



Checks the CEC (Consumer Electronics Control) line for availability
properly so that in case of line being busy it can send re-try
request.

CRs-Fixed: 552367
Change-Id: I75dae23738d791de9a75b78a14e62cd3c40fa2c4
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent 66619aa7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -350,7 +350,8 @@ static int hdmi_cec_msg_send(struct hdmi_cec_ctrl *cec_ctrl,
			(msg->operand[i] << 8) | frame_type);

	while ((DSS_REG_R(io, HDMI_CEC_STATUS) & BIT(0)) &&
		line_check_retry--) {
		line_check_retry) {
		line_check_retry--;
		DEV_DBG("%s: CEC line is busy(%d)\n", __func__,
			line_check_retry);
		schedule();