Zev Weiss 2fbb848b65 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>
2023-01-03 13:26:45 -08:00
..
2022-10-04 19:02:54 -07:00
2022-12-04 16:45:02 -08:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-08-16 12:46:26 +02:00
2022-02-27 17:03:19 -08:00
2022-12-04 16:45:02 -08:00
2022-12-04 16:45:02 -08:00
2021-04-20 06:50:14 -07:00
2022-09-19 06:17:05 -07:00
2022-05-22 11:32:31 -07:00
2022-12-04 16:45:02 -08:00
2022-12-04 16:45:02 -08:00
2022-12-04 16:45:02 -08:00
2022-08-16 12:46:26 +02:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00