Loading drivers/video/msm/mdss/mdss_mdp_pp.c +3 −4 Original line number Diff line number Diff line Loading @@ -2825,7 +2825,7 @@ int mdss_mdp_histogram_start(struct mdp_histogram_start_req *req) if (!i) { ret = -EINVAL; pr_warn("Must pass pipe arguments, %d", i); goto hist_exit; goto hist_stop_clk; } for (i = 0; i < MDSS_PP_ARG_NUM; i++) { Loading @@ -2835,10 +2835,9 @@ int mdss_mdp_histogram_start(struct mdp_histogram_start_req *req) if (IS_ERR_OR_NULL(pipe)) continue; if (!pipe || pipe->num > MDSS_MDP_SSPP_VIG2) { mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF, false); ret = -EINVAL; pr_warn("Invalid Hist pipe (%d)", i); goto hist_exit; goto hist_stop_clk; } done_shift_bit = (pipe->num * 4); hist_info = &pipe->pp_res.hist; Loading @@ -2861,8 +2860,8 @@ int mdss_mdp_histogram_start(struct mdp_histogram_start_req *req) PP_FLAGS_DIRTY_HIST_COL; } } hist_stop_clk: mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF, false); hist_exit: return ret; } Loading Loading
drivers/video/msm/mdss/mdss_mdp_pp.c +3 −4 Original line number Diff line number Diff line Loading @@ -2825,7 +2825,7 @@ int mdss_mdp_histogram_start(struct mdp_histogram_start_req *req) if (!i) { ret = -EINVAL; pr_warn("Must pass pipe arguments, %d", i); goto hist_exit; goto hist_stop_clk; } for (i = 0; i < MDSS_PP_ARG_NUM; i++) { Loading @@ -2835,10 +2835,9 @@ int mdss_mdp_histogram_start(struct mdp_histogram_start_req *req) if (IS_ERR_OR_NULL(pipe)) continue; if (!pipe || pipe->num > MDSS_MDP_SSPP_VIG2) { mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF, false); ret = -EINVAL; pr_warn("Invalid Hist pipe (%d)", i); goto hist_exit; goto hist_stop_clk; } done_shift_bit = (pipe->num * 4); hist_info = &pipe->pp_res.hist; Loading @@ -2861,8 +2860,8 @@ int mdss_mdp_histogram_start(struct mdp_histogram_start_req *req) PP_FLAGS_DIRTY_HIST_COL; } } hist_stop_clk: mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF, false); hist_exit: return ret; } Loading