Message ID | c7db7e804c453629c116d508558eaf46477a2d73.1731708405.git.len.brown@intel.com |
---|---|
State | New |
Headers | show |
Series | [v2] ACPI: Replace msleep() with usleep_range() in acpi_os_sleep(). | expand |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 70af3fbbebe5..daf87e33b8ea 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -607,7 +607,9 @@ acpi_status acpi_os_remove_interrupt_handler(u32 gsi, acpi_osd_handler handler) void acpi_os_sleep(u64 ms) { - msleep(ms); + u64 us = ms * USEC_PER_MSEC; + + usleep_range(us, us); } void acpi_os_stall(u32 us)