commit | 8c1a8684991ccb0c452e5b4aa0eacf5b8b4e7c5c | [log] [tgz] |
---|---|---|
author | tysonwei <tysonwei@realtek.com> | Mon Oct 31 18:30:57 2022 +0800 |
committer | tysonwei <tysonwei@realtek.com> | Tue Nov 01 11:43:49 2022 +0800 |
tree | 62eb1a1b1c7d20284f86afa8529e8f573bcac259 | |
parent | 4ee969e8efb8e9170ef965a9d55cb6b1f50753b8 [diff] |
Fix potential race condition problem If we call forceSuspend to enter STR and then resume from it, we should make sure that mForceSuspendActive is set to false to wake up device correctly. Bug: 205257123 Test: 1. forceSuspend 2. wait until kernel enter suspend mode 3. press power button to wakeUp Change-Id: I3c57ff7c7352fe078f2139d9679dc3d860482f05