| commit | b16110587c76cebd644c01f9e45218412281e140 | [log] [tgz] |
|---|---|---|
| author | Flavio Ceolin <flavio.ceolin@intel.com> | Tue Dec 12 22:05:09 2023 -0800 |
| committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Thu Dec 14 19:07:48 2023 +0000 |
| tree | 274e7faeed011db23eb8f37c89d8621020c252f1 | |
| parent | dca352bfa3077cadeb6c3c3f2ff3100082c9e4b6 [diff] |
pm: device_runtime: Avoid unnecessary work Similar to what is done in pm_device_runtime_get, we don't need to wait the device be suspended if the work is still in the work queue. In this case we just cancel the work and update the device state to active. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>