kernel_samsung_a53x/drivers/iio/light
Emil Gedenryd 903685b6d9 iio: light: opt3001: add missing full-scale range value
commit 530688e39c644543b71bdd9cb45fdfb458a28eaa upstream.

The opt3001 driver uses predetermined full-scale range values to
determine what exponent to use for event trigger threshold values.
The problem is that one of the values specified in the datasheet is
missing from the implementation. This causes larger values to be
scaled down to an incorrect exponent, effectively reducing the
maximum settable threshold value by a factor of 2.

Add missing full-scale range array value.

Fixes: 94a9b7b1809f ("iio: light: add support for TI's opt3001 light sensor")
Signed-off-by: Emil Gedenryd <emil.gedenryd@axis.com>
Cc: <Stable@vger.kernel.org>
Link: https://patch.msgid.link/20240913-add_opt3002-v2-1-69e04f840360@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:56 +01:00
..
acpi-als.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adjd_s311.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adux1020.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
al3010.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
al3320a.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apds9300.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apds9960.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
as73211.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bh1750.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bh1780.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cm3232.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cm3323.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cm3605.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cm32181.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cm36651.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cros_ec_light_prox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gp2ap002.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gp2ap020a00f.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hid-sensor-als.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hid-sensor-prox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iqs621-als.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isl29018.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isl29028.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isl29125.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jsa1212.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lm3533-als.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ltr501.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lv0104cs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
max44000.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
max44009.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
noa1305.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opt3001.c iio: light: opt3001: add missing full-scale range value 2024-11-23 23:21:56 +01:00
pa12203001.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpr0521.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
si1133.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
si1145.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_uvis25.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_uvis25_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_uvis25_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_uvis25_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stk3310.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tcs3414.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tcs3472.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsl2563.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsl2583.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsl2772.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsl4531.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
us5182d.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vcnl4000.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vcnl4035.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
veml6030.c iio: light: veml6030: fix IIO device retrieval from embedded device 2024-11-23 23:21:56 +01:00
veml6070.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vl6180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zopt2201.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00