diff options
author | Jameson Thies <[email protected]> | 2022-09-13 20:49:54 +0000 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2022-09-19 10:34:38 +0800 |
commit | 8edd2752b0aa498b3a61f3caee8f79f7e0567fad (patch) | |
tree | bc540958a980ca9116e551ce85a7aede36a7abed /scripts/generate_rust_analyzer.py | |
parent | 348a2e8c93d3ca622cf1b293cd2f597c9db74d9d (diff) |
platform/chrome: cros_ec: Notify the PM of wake events during resume
cros_ec_handle_event in the cros_ec driver can notify the PM of wake
events. When a device is suspended, cros_ec_handle_event will not check
MKBP events. Instead, received MKBP events are checked during resume by
cros_ec_report_events_during_suspend. But
cros_ec_report_events_during_suspend cannot notify the PM if received
events are wake events, causing wake events to not be reported if
received while the device is suspended.
Update cros_ec_report_events_during_suspend to notify the PM of wake
events during resume by calling pm_wakeup_event.
Signed-off-by: Jameson Thies <[email protected]>
Reviewed-by: Prashant Malani <[email protected]>
Reviewed-by: Benson Leung <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions