[PATCH] acpi: s3: fix the issue for determining time to resume
Ivan Hu
ivan.hu at canonical.com
Wed Nov 30 08:05:02 UTC 2022
Buglink: https://bugs.launchpad.net/fwts/+bug/1998195
It is due to the kernel string has changed from
"PM: Timekeeping suspended" to "Timekeeping suspended"
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
src/acpi/s3/s3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/acpi/s3/s3.c b/src/acpi/s3/s3.c
index f3647d66..96391d43 100644
--- a/src/acpi/s3/s3.c
+++ b/src/acpi/s3/s3.c
@@ -510,7 +510,7 @@ static int s3_scan_times(
s3_suspend_finish = ts;
continue;
}
- if (strstr(txt, "PM: Timekeeping suspended")) {
+ if (strstr(txt, "Timekeeping suspended")) {
s3_resume_start = ts;
if (s3_suspend_finish < 0.0)
s3_suspend_finish = previous_ts;
--
2.25.1
More information about the fwts-devel
mailing list