]> www.infradead.org Git - users/dwmw2/linux.git/commit
clocksource: acpi_pm: Add external callback for suspend/resume
authorMarek Maslanka <mmaslanka@google.com>
Mon, 12 Aug 2024 18:41:42 +0000 (18:41 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 6 Sep 2024 12:49:20 +0000 (14:49 +0200)
commit56bd72e9cd8272687aa2a8eccddabc5526cd7845
tree20c684f236990082cf74e1036a50e2a317714272
parenta7456d7d1b8e781fdaa16c10947bd2363c6fd342
clocksource: acpi_pm: Add external callback for suspend/resume

Provides the capability to register an external callback for the ACPI PM
timer, which is called during the suspend and resume processes.

Signed-off-by: Marek Maslanka <mmaslanka@google.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240812184150.1079924-1-mmaslanka@google.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/acpi_pm.c
include/linux/acpi_pmtmr.h