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

Commit fd4d7031 authored by Shashank Babu Chinta Venkata's avatar Shashank Babu Chinta Venkata
Browse files

drm/msm/dsi-staging: use usleep for wait during command transfer to panel



Use usleep instead of msleep which will ensure the delay
needed during command transfer to panel.

Change-Id: Ia3f53a2f9b649cc5db629bb1a735fc99bbf9149d
Signed-off-by: default avatarShashank Babu Chinta Venkata <sbchin@codeaurora.org>
parent 76913944
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -506,7 +506,8 @@ static int dsi_panel_tx_cmd_set(struct dsi_panel *panel,
			goto error;
		}
		if (cmds->post_wait_ms)
			msleep(cmds->post_wait_ms);
			usleep_range(cmds->post_wait_ms*1000,
					((cmds->post_wait_ms*1000)+10));
		cmds++;
	}
error: