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

Skip to content
Commit 6784f760 authored by Krishna Chaitanya Parimi's avatar Krishna Chaitanya Parimi
Browse files

msm: mdss: Change histogram collect error in mdp3 to EPROTO



During suspend, histogram stop will be called from control off.
However userspace would not be aware that histogram has been
disabled and will continue to send ioctl calls for collection
of histogram. This causes repeated ioctl failures, so we now
return EPROTO as the error, so that userspace is made aware
that histograms have been halted in kernel. Userspace can
make use of this return value to prevent multiple calls to
collect histogram data after histogram block was turned off.

Change-Id: I85d4d46bca3b102286b474e7126e33b03a27503a
Signed-off-by: default avatarKrishna Chaitanya Parimi <cparimi@codeaurora.org>
parent 0bdc6e48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment