Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7a6c83f authored by Terence Hampson's avatar Terence Hampson
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 0b8bba44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -880,7 +880,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 {