Files
linux/drivers
Zev Weiss 688ae6ce05 hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div()
commit 2fbb848b65 upstream.

Commit 4ef2774511 ("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: 4ef2774511 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:23 +01:00
..
2023-02-09 11:28:25 +01:00
2022-12-31 13:33:12 +01:00
2023-03-10 09:34:02 +01:00