diff options
author | Loic Prylli <lprylli@netflix.com> | 2023-11-03 11:30:55 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-02-04 15:43:44 +0100 |
commit | 1168491e7f53581ba7b6014a39a49cfbbb722feb (patch) | |
tree | c7a0358998ad5a6645ac7537cb0716e5929c5498 /drivers/hwmon/adm1021.c | |
parent | Linux 6.8-rc3 (diff) | |
download | linux-1168491e7f53581ba7b6014a39a49cfbbb722feb.tar.xz linux-1168491e7f53581ba7b6014a39a49cfbbb722feb.zip |
hwmon: (aspeed-pwm-tacho) mutex for tach reading
the ASPEED_PTCR_RESULT Register can only hold the result for a
single fan input. Adding a mutex to protect the register until the
reading is done.
Signed-off-by: Loic Prylli <lprylli@netflix.com>
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
Fixes: 2d7a548a3eff ("drivers: hwmon: Support for ASPEED PWM/Fan tach")
Link: https://lore.kernel.org/r/121d888762a1232ef403cf35230ccf7b3887083a.1699007401.git.alexander.hansen@9elements.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adm1021.c')
0 files changed, 0 insertions, 0 deletions