Skip to content
Commit 366716e6 authored by Corentin Labbe's avatar Corentin Labbe Committed by Jean Delvare
Browse files

hwmon: (adm1029) Use mask for fan_div value



This is my patch for testing correct values of fan div in adm1029 and
prevent a division by 0 for some (unlikely) register values.

Signed-off-by: default avatarCorentin Labbe <corentin.labbe@geomatys.fr>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent d664a480
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