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

Commit 91f1a8cb authored by raghavendra ambadas's avatar raghavendra ambadas Committed by Bernhard Thoben
Browse files

msm: mdss: fix race condition between rotator api's



current code does not have locking mechanism between
rotator play and rotator unset, due to which race condition
can occur when concurrent threads invoke rotator play and
unset ioctl cmd. So use mutex lock to avoid such issues.

Bug: 77527701
Change-Id: I6a7cd16ee8a8f3a4c9397e87b8c109809ec6f573
Signed-off-by: default avatarRaghavendra Ambadas <rambad@codeaurora.org>
Signed-off-by: default avatarSteve Pfetsch <spfetsch@google.com>
(cherry picked from commit 113a9f5cdb5c52c856de4c09180df9a99b813658)
parent 1f96cce1
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