drm/bridge: synopsys: dw-hdmi-qp: Fix sending incomplete long cec msg

If FRAME_SEND_CLR_P was set, cec packets may be sent incomplete.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ic67518ea0c794fe6f997c87e45dedbfd6fb1fde3
This commit is contained in:
Algea Cao
2022-03-17 11:47:38 +08:00
committed by Tao Huang
parent 77b73c0f4a
commit 3fa1ab4d9a

View File

@@ -93,8 +93,6 @@ static int dw_hdmi_qp_cec_transmit(struct cec_adapter *adap, u8 attempts,
unsigned int i;
u32 val;
dw_hdmi_qp_write(cec, CEC_CTRL_CLEAR, CEC_TX_CONTROL);
for (i = 0; i < msg->len; i++) {
if (!(i % 4))
val = msg->msg[i];