diff mbox series

acpi: s3: fix the issue for determining time to resume

Message ID 20221130080502.32181-1-ivan.hu@canonical.com
State Accepted
Headers show
Series acpi: s3: fix the issue for determining time to resume | expand

Commit Message

Ivan Hu Nov. 30, 2022, 8:05 a.m. UTC
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@canonical.com>
---
 src/acpi/s3/s3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;