diff options
| author | Krishna Chaitanya Parimi <cparimi@codeaurora.org> | 2014-10-31 16:21:23 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:35:53 -0700 |
| commit | 9d1c95d590ee445fc14cbeda181487d48af1e4a2 (patch) | |
| tree | ec1c53189bf0ab7daa1c3a8f7b0d52ad92ea9688 /drivers | |
| parent | 56df68ff8c5f30ab946ccd44d50620e5ff20a1b9 (diff) | |
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 <cparimi@codeaurora.org>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_pp.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |
