diff mbox series

[4/4] acpi: exsystem: Decrease sleep warning threshold to 10 ms

Message ID 20220224113807.91771-4-pmenzel@molgen.mpg.de
State New
Headers show
Series [1/4] acpi: exsystem: Add units to time variable names | expand

Commit Message

Paul Menzel Feb. 24, 2022, 11:38 a.m. UTC
50 ms is quite long for todays systems and requirements. 10 ms seems
like a more appropriate limit, and everything else needing more should
be rewritten to use polling.

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
 drivers/acpi/acpica/exsystem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c
index bdffb8aac05c..676459ccc8d7 100644
--- a/drivers/acpi/acpica/exsystem.c
+++ b/drivers/acpi/acpica/exsystem.c
@@ -167,9 +167,9 @@  acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
 
 	acpi_ex_exit_interpreter();
 
-	if (how_long_ms > 50) {
+	if (how_long_ms > 10) {
 		ACPI_WARNING((AE_INFO,
-		    "Time parameter %llu > 50 ms. Please contact firmware vendor for more responsive system.", how_long_ms));
+		    "Time parameter %llu > 10 ms. Please contact firmware vendor for more responsive system.", how_long_ms));
 	}
 
 	/*