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

Commit a5aceb24 authored by Krishna Chaitanya Parimi's avatar Krishna Chaitanya Parimi
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 1677ceb2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3331,7 +3331,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;