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:
Terence Hampson 2014-04-24 16:30:52 -04:00 committed by David Keitel
parent bddf54c0d8
commit dbb88ca56b

View file

@ -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 {