]> git.baikalelectronics.ru Git - kernel.git/commit
iio: Correct description how to convert microtesla to gauss
authorPeter Meerwald <pmeerw@pmeerw.net>
Sat, 19 Oct 2013 17:17:00 +0000 (18:17 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 20 Oct 2013 21:36:13 +0000 (22:36 +0100)
commit077580e4261df02fe9316ee71c03d79698a419f4
tree0abfc105462a2670e371833f4c108ee9f241addd
parentafddf83290e08dbc1ef789a18f66dbd629a9499d
iio: Correct description how to convert microtesla to gauss

this just fixes the comment; however, I'm not sure if the driver reports
measurements correctly; the raw values are 0.3 uT / LSB; IIO is supposed
to report magnetic fields in Gauss, so the scale should be around 1/300
(ignoring ASA) -- but value and scale are returned as VAL_INT

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c