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

Skip to content
Commit efe172e1 authored by Krishna Chaitanya Parimi's avatar Krishna Chaitanya Parimi Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdp3: prevent NOC error cases with histogram during ctl off



During ctl off there can be a race condition of histogram start
call of ioctl and histogram stop call of ctl off sequence. If
histogram start were to come after histogram stop of ctl off
sequence and set histo status, there would be a delayed hist
stop ioctl that will cause NOC error. Histogram start itself
might cause NOC error if footswitch control came in just before
the start call. So to prevent these histogram start and ctl off
sequence are made exclusive using the session lock.

Change-Id: If9a42bd52b0df0537ca5cc3fd6d346f7b7b4b185
Signed-off-by: default avatarKrishna Chaitanya Parimi <cparimi@codeaurora.org>
parent 2fe8b868
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