]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: lis3: Adjust fuzziness for 8 bit device
authorSamu Onkalo <samu.p.onkalo@nokia.com>
Fri, 22 Oct 2010 11:57:30 +0000 (07:57 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:39 +0000 (14:11 -0700)
commit40cc6518287606524b5c55c0816d78b56fca2b69
treee4902eac91b80243413efd376a38b23cbbd82943
parent8243ace6520d382064349d981de040afc46187b7
hwmon: lis3: Adjust fuzziness for 8 bit device

Default fuziness is set smaller for 8 device.
In 12 bit device LSB is quite close to 1 mg
(mg = 1 / 1000 of earth gravity).
In 8bit device LSB is about 18 mg.
Set fuziness to 1 for 8 bit device.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lis3lv02d.c