diff options
| author | Nicolin Chen <nicoleotsuka@gmail.com> | 2018-09-29 14:44:06 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-10 20:37:13 -0700 |
| commit | 791ebc9d34e9d212fc03742c31654b017d385926 (patch) | |
| tree | 954031cdcd9434642420ba696fbdade9b8a43f73 /tools/perf/scripts/python | |
| parent | hwmon: (ina3221) Add INA3221_CONFIG to volatile_table (diff) | |
| download | linux-791ebc9d34e9d212fc03742c31654b017d385926.tar.gz linux-791ebc9d34e9d212fc03742c31654b017d385926.zip | |
hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros
The three INA3221_CONFIG_MODE macros are not correctly defined here.
The MODE3-1 bits are located at BIT 2-0 according to the datasheet.
So this patch just fixes them by shifting all of them with a correct
offset. However, this isn't a crital bug fix as the driver does not
use any of them at this point.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
