summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-08-03 20:51:24 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-03 20:51:23 -0700
commit647fc98bc8ce58b75d20c7876f0605b0dbbc6a2d (patch)
tree29611661f0ebf71cb8b224a13d053b957f0b12cb /drivers/video/fbdev/msm
parentd56f94c6dca898a3434cf90b72e2b4de7f0ae9ec (diff)
parent5f292a6eae6b00bac21f40625deb6d46ade5bed1 (diff)
Merge "msm: mdss: Fix the DSI lane swap programming logic"
Diffstat (limited to 'drivers/video/fbdev/msm')
-rw-r--r--drivers/video/fbdev/msm/mdss_dsi.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi.c b/drivers/video/fbdev/msm/mdss_dsi.c
index f9a71375c207..5f7e7c6bcde0 100644
--- a/drivers/video/fbdev/msm/mdss_dsi.c
+++ b/drivers/video/fbdev/msm/mdss_dsi.c
@@ -3266,21 +3266,6 @@ end:
return rc;
}
-static void mdss_dsi_ctrl_validate_lane_swap_config(
- struct mdss_dsi_ctrl_pdata *ctrl)
-{
- struct mipi_panel_info *mipi = &ctrl->panel_data.panel_info.mipi;
-
- if (!mipi->data_lane0)
- ctrl->lane_map[DSI_LOGICAL_LANE_0] = DSI_PHYSICAL_LANE_INVALID;
- if (!mipi->data_lane1)
- ctrl->lane_map[DSI_LOGICAL_LANE_1] = DSI_PHYSICAL_LANE_INVALID;
- if (!mipi->data_lane2)
- ctrl->lane_map[DSI_LOGICAL_LANE_2] = DSI_PHYSICAL_LANE_INVALID;
- if (!mipi->data_lane3)
- ctrl->lane_map[DSI_LOGICAL_LANE_3] = DSI_PHYSICAL_LANE_INVALID;
-}
-
static int mdss_dsi_ctrl_validate_config(struct mdss_dsi_ctrl_pdata *ctrl)
{
int rc = 0;
@@ -3290,8 +3275,6 @@ static int mdss_dsi_ctrl_validate_config(struct mdss_dsi_ctrl_pdata *ctrl)
goto error;
}
- mdss_dsi_ctrl_validate_lane_swap_config(ctrl);
-
/*
* check to make sure that the byte interface clock is specified for
* DSI ctrl version 2 and above.