From 330e834b2b1f07a4ecca80248364517afb8ec2a6 Mon Sep 17 00:00:00 2001 From: Animesh Kishore Date: Wed, 19 Jul 2017 14:50:02 +0530 Subject: [PATCH] msm: mdss: Remove check to cap requested mdp clock Invalidate layers with requested mdp clock greater than max supported. Change-Id: Ic44787e6c0ad1cce105074533c1b6fd21c79da38 Signed-off-by: Animesh Kishore --- drivers/video/fbdev/msm/mdss_mdp_ctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/msm/mdss_mdp_ctl.c b/drivers/video/fbdev/msm/mdss_mdp_ctl.c index efd681a5d954..52709d396339 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_ctl.c +++ b/drivers/video/fbdev/msm/mdss_mdp_ctl.c @@ -676,7 +676,6 @@ static u32 get_pipe_mdp_clk_rate(struct mdss_mdp_pipe *pipe, if (flags & PERF_CALC_PIPE_APPLY_CLK_FUDGE) rate = mdss_mdp_clk_fudge_factor(mixer, rate); - rate = min(mdata->max_mdp_clk_rate, rate); return rate; }