]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bu27034: ROHM BU27034ANUC correct lux calculation
authorMatti Vaittinen <mazziesaccount@gmail.com>
Fri, 5 Jul 2024 10:55:34 +0000 (13:55 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:35 +0000 (10:13 +0100)
commiteb13959e2deac8b924cd663da8e564227d8b7184
tree08d243410c7d7b642cf4e20337334aa2eb8a2867
parentbb1059815f56c3b749d4849cd355bcaf7a750071
bu27034: ROHM BU27034ANUC correct lux calculation

The ROHM BU27034NUC was cancelled and BU27034ANUC is replacing this
sensor. The lux computation based on the data from a BU27034ANUC is
different from the computation for the data from an old BU27034NUC.

Fix the lux computation.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/b7bea76b54b28eb354dc523771a0e0a8b6f26095.1720176341.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/rohm-bu27034.c