]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83795) Fix LSB reading of fan speeds
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:46 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:46 +0000 (20:31 +0200)
commite0fdca98648cecb04e9e8b921d3c80e8a28378be
tree1315014b74cc4ea9cea40c7fc8bf60f7826cca3d
parent93641d5d87d560b0f01822a1f9ff8d45b1c2ada1
hwmon: (w83795) Fix LSB reading of fan speeds

Misplaced parentheses caused the wrong register value to be read,
resulting in random LSB for fan speed values and limits.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83795.c