diff options
author | Zev Weiss <[email protected]> | 2022-04-26 18:01:51 -0700 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2022-05-20 10:57:06 -0700 |
commit | bd2e82bd4f4839f70c00a480e0133dc9650d7211 (patch) | |
tree | 15d30751e9f927349a525c7899ac6407ff6d3243 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 3c7e4935d46803f009e344546e41e777df7537b1 (diff) |
hwmon: (nct6775) Add read-only mode
When enabled, all write bits are removed from the modes of all sysfs
attribute files. This provides a bit of infrastructure for the
upcoming i2c version of this driver, which should generally avoid
writes to device registers so as not to interfere with simultaneous
use of the device via the LPC interface.
Signed-off-by: Zev Weiss <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Oleksandr Natalenko <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions