Skip to content

Commit 584d55b

Browse files
bhcopelandgroeck
authored andcommitted
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>
1 parent 2c8ac03 commit 584d55b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hwmon/asus-ec-sensors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static char *mutex_path_override;
4949
*/
5050
#define ASUS_EC_MAX_BANK 3
5151

52-
#define ACPI_LOCK_DELAY_MS 500
52+
#define ACPI_LOCK_DELAY_MS 800
5353

5454
/* ACPI mutex for locking access to the EC for the firmware */
5555
#define ASUS_HW_ACCESS_MUTEX_ASMX "\\AMW0.ASMX"

0 commit comments

Comments
 (0)