hwmon: (asus-ec-sensosrs) fix mutex path for X670E Hero
authorEugene Shalygin <eugene.shalygin@gmail.com>
Mon, 21 Aug 2023 11:52:35 +0000 (13:52 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 21 Aug 2023 13:04:12 +0000 (06:04 -0700)
commit9c53fb0ad1acaf227718ccae16e8fb8e01c05918
treea860b9db3b9b3d45402d3e28a937c8c68ea1709b
parent56b930dcd88c2adc261410501c402c790980bdb5
hwmon: (asus-ec-sensosrs) fix mutex path for X670E Hero

A user reported that they observe race condition warning [1] and after
looking once again into the DSDT source it was found that wrong mutex
was used.

[1] https://github.com/zeule/asus-ec-sensors/issues/43

Fixes: 790dec13c012 ("hwmon: (asus-ec-sensors) add ROG Crosshair X670E Hero.")
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20230821115418.25733-2-eugene.shalygin@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/asus-ec-sensors.c