Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hwmon: (asus-ec-sensors) increase timeout for locking ACPI mutex

Some motherboards require more time to acquire the ACPI mutex,
causing "Failed to acquire mutex" messages to appear in the kernel log.
Increase the timeout from 500ms to 800ms to accommodate these cases.

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20250923192935.11339-3-eugene.shalygin@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Ben Copeland and committed by
Guenter Roeck
584d55be 2c8ac03a

+1 -1
+1 -1
drivers/hwmon/asus-ec-sensors.c
··· 49 49 */ 50 50 #define ASUS_EC_MAX_BANK 3 51 51 52 - #define ACPI_LOCK_DELAY_MS 500 52 + #define ACPI_LOCK_DELAY_MS 800 53 53 54 54 /* ACPI mutex for locking access to the EC for the firmware */ 55 55 #define ASUS_HW_ACCESS_MUTEX_ASMX "\\AMW0.ASMX"