summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm1026.c
diff options
context:
space:
mode:
authorCorentin Labbe <corentin.labbe@geomatys.fr>2008-10-17 17:51:20 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-10-17 17:51:20 +0200
commit366716e6aabfb6f7c65525cc1637e035bfaf422d (patch)
treea08980a1795a0338c6d96ac41f61efebeb937c1a /drivers/hwmon/adm1026.c
parentd664a4809e73c878a43607d584b2e2b60fd07468 (diff)
downloadop-kernel-dev-366716e6aabfb6f7c65525cc1637e035bfaf422d.zip
op-kernel-dev-366716e6aabfb6f7c65525cc1637e035bfaf422d.tar.gz
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>
Diffstat (limited to 'drivers/hwmon/adm1026.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud