diff options
| author | Zhang Rui <[email protected]> | 2022-05-19 14:35:05 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2022-05-19 17:40:25 +0000 |
| commit | 55266546f45dcc9284ca93f4fa3f6693d30ea8ce (patch) | |
| tree | 52a936ab664a570d30ad84f47579d4d75f61059a /drivers/acpi/cppc_acpi.c | |
| parent | Linux 5.18-rc7 (diff) | |
| download | kernel-55266546f45dcc9284ca93f4fa3f6693d30ea8ce.tar.gz kernel-55266546f45dcc9284ca93f4fa3f6693d30ea8ce.zip | |
PM: wakeup: expose pm_wakeup_pending to modules
intel_pch_thermal driver needs a long delay to cool itself (60 seconds
in maximum) during suspend. When a wakeup event occures during the
delay, it is better for the intel_pch_thermal driver to detect this and
quit cooling because the suspend is likely to abort anyway.
Thus expose pm_wakeup_pending to modules so that intel_pch_thermal
driver can be aware of the wakeup events.
Signed-off-by: Zhang Rui <[email protected]>
Tested-by: Sumeet Pawnikar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
