linux/drivers/platform
Jameson Thies 8edd2752b0 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 <jthies@google.com>
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220913204954.2931042-1-jthies@google.com
2022-09-19 10:34:38 +08:00
..
chrome platform/chrome: cros_ec: Notify the PM of wake events during resume 2022-09-19 10:34:38 +08:00
goldfish platform: goldfish: pipe: Use platform_get_irq() to get the interrupt 2022-03-18 13:55:21 +01:00
mellanox virtio: fatures, fixes 2022-08-12 09:50:34 -07:00
mips MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error. 2022-06-09 22:24:19 +02:00
olpc platform/olpc: Fix uninitialized data in debugfs write 2022-07-28 20:40:15 +02:00
surface platform/surface: gpe: Add support for 13" Intel version of Surface Laptop 4 2022-07-28 20:40:40 +02:00
x86 platform-drivers-x86 for v6.0-1 2022-08-04 18:19:14 -07:00
Kconfig platform/x86: Kconfig: Remove unnecessary "if X86" 2022-06-27 09:37:49 +02:00
Makefile platform: Add Surface platform directory 2020-10-27 12:51:03 +01:00