msm: mdss: Fix DSI event handler for dynamic FPS configuration
Commit 1c3fce18 introduced a bug which resulted in the dynamic
fps configuration function being called in response to the
command list kickoff event. This results in incorrect failure
logs getting printed whenever DSI operates in command mode.
CRs-Fixed: 565171
Change-Id: I57359f624c2d6ddaa1a4c2fd7a5946ce9112ca16
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
diff --git a/drivers/video/msm/mdss/mdss_dsi.c b/drivers/video/msm/mdss/mdss_dsi.c
index b353c96..546ee7b 100644
--- a/drivers/video/msm/mdss/mdss_dsi.c
+++ b/drivers/video/msm/mdss/mdss_dsi.c
@@ -752,6 +752,7 @@
break;
case MDSS_EVENT_DSI_CMDLIST_KOFF:
mdss_dsi_cmdlist_commit(ctrl_pdata, 1);
+ break;
case MDSS_EVENT_PANEL_UPDATE_FPS:
if (arg != NULL) {
rc = mdss_dsi_dfps_config(pdata, (int)arg);