Commit 102c8776 authored by Terence Hampson's avatar Terence Hampson Committed by Nikola Majkić
Browse files

mdss: mdp: Fix check to identify if dsi short read


The short response can be <=2 bytes.

Change-Id: Iad322bc892ea29b2acf220ef579d18dea1a91c32
Signed-off-by: default avatarTerence Hampson <thampson@codeaurora.org>
parent 88f34999
......@@ -896,7 +896,7 @@ int mdss_dsi_cmds_rx(struct mdss_dsi_ctrl_pdata *ctrl,
MIPI_OUTP((ctrl->ctrl_base) + 0x0004, data);
}
if (rlen == 0) {
if (rlen <= 2) {
short_response = 1;
rx_byte = 4;
pkt_size = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment