commit | eb31dc7b76c17a9d42595e7a2161b9bb1255d3bd | [log] [tgz] |
---|---|---|
author | Naseer Ahmed <naseer@codeaurora.org> | Tue Apr 04 19:48:04 2017 -0400 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Apr 25 17:09:39 2017 -0700 |
tree | a4df8c2589499f13c22d87c697e795c628abd159 | |
parent | b388bf4eed98b339aae3039215f993f692429f09 [diff] |
sdm: Reduce scope of lock in deinit HWEventsInterface::Destroy tries to shutdown the event thread, but it is not able to do so while holding the recursive mutex, since there is a race where the idle power collapse event is also received at the same time, which tries to acquire the recursive mutex. Fixes test Hwc2Test.SET_VSYNC_ENABLED* Change-Id: I5dfe75b25606c19156ee12073dacda43541dd9cf CRs-Fixed: 2028722