]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hwmon: (adm1029) Use mask for fan_div value
authorCorentin Labbe <corentin.labbe@geomatys.fr>
Fri, 17 Oct 2008 15:51:20 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:20 +0000 (17:51 +0200)
commit366716e6aabfb6f7c65525cc1637e035bfaf422d
treea08980a1795a0338c6d96ac41f61efebeb937c1a
parentd664a4809e73c878a43607d584b2e2b60fd07468
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: Corentin Labbe <corentin.labbe@geomatys.fr>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/adm1029.c