Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22ae55f6 authored by Krishna Chaitanya Parimi's avatar Krishna Chaitanya Parimi Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarKrishna Chaitanya Parimi <cparimi@codeaurora.org>
parent 3c59f85d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3397,7 +3397,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;