aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2023-09-07 07:26:36 +0200
committerGuenter Roeck <[email protected]>2023-10-27 07:27:24 -0700
commit7da8a635436029957c5350da3acf51d78ed64071 (patch)
tree9f9e04c8bce95fb0bcdecee07a5464e1326a4b50 /lib/memory-notifier-error-inject.c
parent7f0b28e0653f36b51542d25dd54ed312c397ecfc (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions