kernel_optimize_test/drivers/iio
Guido Günther bc80573ea2 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: 5a441aade5 ("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>
2020-01-13 12:08:40 +01:00
..
accel First set of fixes for IIO in the 5.5 cycle. 2019-12-09 09:27:52 +01:00
adc iio: adc: ad7124: Fix DT channel configuration 2020-01-13 12:08:14 +01:00
afe
amplifiers
buffer
chemical iio: chemical: pms7003: fix unmet triggered buffer dependency 2020-01-13 12:08:32 +01:00
common
dac
dummy
frequency
gyro
health
humidity iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting 2019-12-08 18:10:29 +00:00
imu iio: imu: st_lsm6dsx: Fix selection of ST_LSM6DS3_ID 2020-01-13 12:08:28 +01:00
light iio: light: vcnl4000: Fix scale for vcnl4040 2020-01-13 12:08:40 +01:00
magnetometer
multiplexer
orientation
potentiometer
potentiostat
pressure
proximity
resolver
temperature iio: temperature: ltc2983: fix u32 read into a unsigned long long 2019-12-08 18:10:28 +00:00
trigger
iio_core_trigger.h
iio_core.h
industrialio-buffer.c iio: buffer: align the size of scan bytes to size of the largest element 2020-01-13 12:08:37 +01:00
industrialio-configfs.c
industrialio-core.c compat_ioctl: remove most of fs/compat_ioctl.c 2019-12-01 13:46:15 -08:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile