diff options
| author | Zev Weiss <zev@bewilderbeest.net> | 2023-01-02 13:28:57 -0800 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2023-01-03 13:26:45 -0800 |
| commit | 2fbb848b65cde5b876cce52ebcb34de4aaa5a94a (patch) | |
| tree | b12d2e3a69bdd44f3220d8b64a647cefcda529b5 /tools/perf/scripts/python/bin | |
| parent | ca8fd8c16a8b77dfcf7f6ce52d2c863220693a78 (diff) | |
hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div()
Commit 4ef2774511dc ("hwmon: (nct6775) Convert register access to
regmap API") fumbled the shifting & masking of the fan_div values such
that odd-numbered fan divisors would always be set to zero. Fix it so
that we actually OR in the bits we meant to.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Fixes: 4ef2774511dc ("hwmon: (nct6775) Convert register access to regmap API")
Cc: stable@kernel.org # v5.19+
Link: https://lore.kernel.org/r/20230102212857.5670-1-zev@bewilderbeest.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
