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>
This commit is contained in:
Dhaval Patel 2015-07-01 17:19:01 -07:00 committed by David Keitel
parent f6fb77ca7d
commit 00ebebb0e9

View file

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