diff options
| author | Ajay Singh Parmar <aparmar@codeaurora.org> | 2013-10-02 14:31:56 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:21:52 -0700 |
| commit | 6dedcd4fe530436d3c11a3144ddeab4b075d6b71 (patch) | |
| tree | 56ab7723262c49e79800948cb6ba1bc0957523eb | |
| parent | 2c9ce362f8c74dffbc088faa719caf8c41738391 (diff) | |
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: Ajay Singh Parmar <aparmar@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_hdmi_cec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_cec.c b/drivers/video/fbdev/msm/mdss_hdmi_cec.c index b74f07428e3c..07ab7798e770 100644 --- a/drivers/video/fbdev/msm/mdss_hdmi_cec.c +++ b/drivers/video/fbdev/msm/mdss_hdmi_cec.c @@ -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(); |
