diff options
author | Armin Wolf <W_Armin@gmx.de> | 2023-09-07 08:26:36 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-10-27 17:27:24 +0300 |
commit | 7da8a635436029957c5350da3acf51d78ed64071 (patch) | |
tree | 9f9e04c8bce95fb0bcdecee07a5464e1326a4b50 /drivers/hwmon/Kconfig | |
parent | 7f0b28e0653f36b51542d25dd54ed312c397ecfc (diff) | |
download | linux-7da8a635436029957c5350da3acf51d78ed64071.tar.xz |
hwmon: (sch5627) Disallow write access if virtual registers are locked
When the lock bit inside SCH5627_REG_CTRL is set, then the virtual
registers become read-only until the next power cycle.
Disallow write access to those registers in such a case.
Tested on a Fujitsu Esprimo P720.
Fixes: aa9f833dfc12 ("hwmon: (sch5627) Add pwmX_auto_channels_temp support")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20230907052639.16491-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
0 files changed, 0 insertions, 0 deletions