Skip to content
Commit 39c627a0 authored by Robert Coulson's avatar Robert Coulson Committed by Guenter Roeck
Browse files

hwmon: (ds1621) Update zbits after conversion rate change



After the conversion rate is changed, the zbits are not updated,
but should be, since they are used later in the set_temp function.

Fixes: a50d9a4d ("hwmon: (ds1621) Fix temperature rounding operations")
Reported-by: default avatarMurat Ilsever <murat.ilsever@gmail.com>
Signed-off-by: default avatarRobert Coulson <rob.coulson@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 52addcf9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment