mdss: mdp: Fix check to identify if dsi short read
The short response can be <=2 bytes. Change-Id: Iad322bc892ea29b2acf220ef579d18dea1a91c32 Signed-off-by: Terence Hampson <thampson@codeaurora.org>
This commit is contained in:
parent
bddf54c0d8
commit
dbb88ca56b
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ int mdss_dsi_cmds_rx(struct mdss_dsi_ctrl_pdata *ctrl,
|
|||
|
||||
ctrl_restore = __mdss_dsi_cmd_mode_config(ctrl, 1);
|
||||
|
||||
if (rlen == 0) {
|
||||
if (rlen <= 2) {
|
||||
short_response = 1;
|
||||
rx_byte = 4;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue