]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: veml6030: drop processed info for white channel
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Tue, 1 Oct 2024 20:21:19 +0000 (22:21 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Oct 2024 14:09:35 +0000 (15:09 +0100)
commited59fc90f38a751f699a846bc68a89185fb8325d
treef07ca89a59fe8923a4a8f5708b0e7c141a38b128
parent8ff21dd6dfc08274d478b0f4f540f23f7065b8c5
iio: light: veml6030: drop processed info for white channel

The resolution of the WHITE channel is not provided by the manufacturer,
neither in the datasheet nor in the application note (even their
proprietary application only processes the ALS channel, giving raw
values for WHITE).

The current implementation assumes that both resolutions are identical,
which is extremely unlikely, especially for photodiodes with different
spectral responses.

Drop the processed information as it is meaningless.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241001-veml6035-v3-6-d789f6ff147c@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/veml6030.c