diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2018-09-29 14:44:05 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-10 20:37:13 -0700 |
commit | c20217b30d675bb8ce3f55768c3cff629641a868 (patch) | |
tree | fb38ec9cc6286668409906bc6c786a4e0617a31b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cbc2a23803193f6cbc415bf79f3ec162f3cfc52a (diff) | |
download | linux-c20217b30d675bb8ce3f55768c3cff629641a868.tar.gz linux-c20217b30d675bb8ce3f55768c3cff629641a868.tar.bz2 linux-c20217b30d675bb8ce3f55768c3cff629641a868.zip |
hwmon: (ina3221) Add INA3221_CONFIG to volatile_table
The MSB (15th bit) of INA3221_CONFIG is a self-clear reset bit.
So this register should be added to the volatile_table of the
regmap_config. Otherwise, we will see this bit is sticky in the
regcache which might accidentally reset the chip when an actual
write happens to the register.
This might not be a severe bug for the current code line since
there's no second place touching the INA3221_CONFIG except the
reset routine in the probe().
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions