summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhaval Patel <pdhaval@codeaurora.org>2015-07-01 17:19:01 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:43:41 -0700
commit00ebebb0e9d7282166bfd1be0bf5580a27c71b78 (patch)
treec8981582433c728237f88133e56b34c6d05a81f6
parentf6fb77ca7d1147ddf2f0d96f02c0fc91c01466b0 (diff)
msm: mdss: remove unused register read request and invalid comment
Ctl rev in vfp update method is unused. Remove this nop instruction. DSI timing mode configuration is not specific for 8916/8939 target but common for all targets. Remove such invalid target specific comment. Change-Id: Ie7c75203ca50e6bd2abf952f4d4362314c01987c Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_dsi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi.c b/drivers/video/fbdev/msm/mdss_dsi.c
index 04b2241fadf1..d2b7cd26c74a 100644
--- a/drivers/video/fbdev/msm/mdss_dsi.c
+++ b/drivers/video/fbdev/msm/mdss_dsi.c
@@ -1512,7 +1512,7 @@ int mdss_dsi_cont_splash_on(struct mdss_panel_data *pdata)
static void __mdss_dsi_update_video_mode_total(struct mdss_panel_data *pdata,
int new_fps)
{
- u32 hsync_period, vsync_period, ctrl_rev;
+ u32 hsync_period, vsync_period;
u32 new_dsi_v_total, current_dsi_v_total;
struct mdss_dsi_ctrl_pdata *ctrl_pdata = NULL;
@@ -1548,8 +1548,7 @@ static void __mdss_dsi_update_video_mode_total(struct mdss_panel_data *pdata,
MIPI_OUTP((ctrl_pdata->ctrl_base) + 0x2C,
(new_dsi_v_total & 0x7ffffff));
}
- ctrl_rev = MIPI_INP(ctrl_pdata->ctrl_base);
- /* Flush DSI TIMING registers for 8916/8939 */
+
if (ctrl_pdata->shared_data->timing_db_mode)
MIPI_OUTP((ctrl_pdata->ctrl_base) + 0x1e4, 0x1);
ctrl_pdata->panel_data.panel_info.mipi.frame_rate = new_fps;