From 9d1c95d590ee445fc14cbeda181487d48af1e4a2 Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Parimi Date: Fri, 31 Oct 2014 16:21:23 +0530 Subject: [PATCH] msm: mdss: Return success to hist start if hist is running When histogram is already running a subsequent call to start the histogram would return with an error. Now instead of failing the request we return success if histogram is found to be running already. Change-Id: I728d8388be625ff5d8069166ad4517095a71727b Signed-off-by: Krishna Chaitanya Parimi --- drivers/video/fbdev/msm/mdss_mdp_pp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/msm/mdss_mdp_pp.c b/drivers/video/fbdev/msm/mdss_mdp_pp.c index bab4832bcc08..ced6dc8aec1d 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pp.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c @@ -3738,7 +3738,6 @@ static int pp_hist_enable(struct pp_hist_col_info *hist_info, spin_unlock_irqrestore(&hist_info->hist_lock, flag); pr_info("%s Hist collection has already been enabled %p\n", __func__, hist_info->base); - ret = -EINVAL; goto exit; } hist_info->read_request = 0;