commit | 8ee96ef50525142615d2de0812d1bf7980779da0 | [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 18 17:21:27 2017 -0700 |
tree | 7c2aa0f778e400706ff9c302af1bd290ec39874b | |
parent | 91bba0ef56bdd225f3600ed51d5a6c8b0ab39acf [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