summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2019-12-27 11:22:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-13 12:08:40 +0100
commitbc80573ea25bb033a58da81b3ce27205b97c088e (patch)
treeed9e9c1d138701706206f5a3a26d2fd2a15c290c /usr
parent883f616530692d81cb70f8a32d85c0d2afc05f69 (diff)
downloadlinux-bc80573ea25bb033a58da81b3ce27205b97c088e.tar.bz2
iio: light: vcnl4000: Fix scale for vcnl4040
According to the data sheet the ambient sensor's scale is 0.12 lux/step (not 0.024 lux/step as used by vcnl4200) when the integration time is 80ms. The integration time is currently hardcoded in the driver to that value. See p. 8 in https://www.vishay.com/docs/84307/designingvcnl4040.pdf Fixes: 5a441aade5b3 ("iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor") Signed-off-by: Guido Günther <agx@sigxcpu.org> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions