summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-11-28 23:57:53 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-28 23:57:52 -0800
commit608623f6b3bf3ca65e02bf4dd165f33f7ecf9141 (patch)
treeef59b70b4d4a684ed123a4393ff586a5db58b1ab /drivers/video
parentea956df8a163fe653a3aa06f15372ea55423ad2b (diff)
parentb11122f8bc3a48f5002f4fb417524e6cc0e76f37 (diff)
Merge "mdss: display-port: fix MSA settings for 5.4 Ghz link rate"
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/msm/mdss_dp_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dp_util.c b/drivers/video/fbdev/msm/mdss_dp_util.c
index 86edc4492599..10962548c3c5 100644
--- a/drivers/video/fbdev/msm/mdss_dp_util.c
+++ b/drivers/video/fbdev/msm/mdss_dp_util.c
@@ -266,8 +266,7 @@ void mdss_dp_sw_config_msa(struct dss_io_data *ctrl_io,
mvid = (pixel_m & 0xFFFF) * 5;
nvid = (0xFFFF & (~pixel_n)) + (pixel_m & 0xFFFF);
- if (lrate == DP_LINK_RATE_540)
- nvid = nvid * 2;
+
pr_debug("mvid=0x%x, nvid=0x%x\n", mvid, nvid);
writel_relaxed(mvid, ctrl_io->base + DP_SOFTWARE_MVID);
writel_relaxed(nvid, ctrl_io->base + DP_SOFTWARE_NVID);