]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hwmon: (aquacomputer_d5next) Fix Quadro fan speed offsets
authorAleksa Savic <savicaleksa83@gmail.com>
Wed, 14 Sep 2022 11:43:27 +0000 (13:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Oct 2022 07:39:04 +0000 (09:39 +0200)
commit3a93bbb581f85367b3227a685aa24a051230229c
tree1f92bee76d00e18dbad434c2fed0af487846c958
parent4ec318d06084a807df8eb212e321120236915fd6
hwmon: (aquacomputer_d5next) Fix Quadro fan speed offsets

commit b7f3e9650f12d1e06b94a0257bcb90279f691bf5 upstream.

The offsets for setting speeds of fans connected to Quadro are off by one.
Set them to their correct values.

The offsets as shown point to registers for setting the fan control mode,
which will be explored in future patches, but slipped in here. When
setting fan speeds, the resulting values were overlapping, which made the
fans still run in my initial testing.

Fixes: cdbe34da01e3 ("hwmon: (aquacomputer_d5next) Add support for Aquacomputer Quadro fan controller")
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Link: https://lore.kernel.org/r/20220914114327.6941-1-savicaleksa83@gmail.com
Cc: stable@vger.kenrel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/aquacomputer_d5next.c