linux-stable/drivers/iio
Matti Vaittinen 95fb1e7b23 iio: light: bu27008: Fix intensity data type
The intensity data from bu27008 is unsigned. The type of the scan data
was incorrectly marked as signed resulting large intensity values to be
interpreted as negative ones.

Fix the scan data type.

Fixes: 41ff93d14f ("iio: light: ROHM BU27008 color sensor")
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/240a7ca5fc1b76da20d81f930d00f31a54b1fdf8.1686648422.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-07-15 18:02:02 +01:00
..
accel 1st set of IIO new device support, features and cleanup for the 6.5 cycle. 2023-06-15 13:01:55 +02:00
adc iio: adc: ad7192: Fix ac excitation feature 2023-07-15 18:02:02 +01:00
addac iio: addac: ad74413: don't set DIN_SINK for functions other than digital input 2023-06-04 12:25:01 +01:00
afe
amplifiers iio: amplifiers: ad8366 Fix whitespace issue 2023-05-28 16:01:55 +01:00
buffer iio: Don't silently expect attribute types 2022-11-23 19:44:04 +00:00
cdc iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
chemical iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
common iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
dac 1st set of IIO new device support, features and cleanup for the 6.5 cycle. 2023-06-15 13:01:55 +02:00
dummy
filter iio: filter: admv8818: close potential out-of-bounds read in __admv8818_read_[h|l]pf_freq() 2022-11-23 19:43:57 +00:00
frequency iio: frequency: admv1013: Benefit from devm_clk_get_enabled() to simplify 2023-03-18 16:35:26 +00:00
gyro iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
health iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
humidity iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
imu 1st set of IIO new device support, features and cleanup for the 6.5 cycle. 2023-06-15 13:01:55 +02:00
light iio: light: bu27008: Fix intensity data type 2023-07-15 18:02:02 +01:00
magnetometer 1st set of IIO new device support, features and cleanup for the 6.5 cycle. 2023-06-15 13:01:55 +02:00
multiplexer iio: multiplexer: Switch to use dev_err_probe() helper 2022-11-23 19:43:57 +00:00
orientation
position
potentiometer iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
potentiostat iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
pressure iio: pressure: Honeywell mprls0025pa pressure sensor 2023-05-21 18:54:58 +01:00
proximity iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
resolver
temperature iio: temperature: tmp006: Add OF device matching support 2023-05-28 20:22:03 +01:00
test
trigger iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: fix coding style warnings 2023-05-13 17:56:06 +01:00
industrialio-configfs.c
industrialio-core.c iio: core: Sort headers 2023-01-21 17:35:23 +00:00
industrialio-event.c 4th set of IIO fixes for 6.1 2022-11-27 15:05:05 +01:00
industrialio-gts-helper.c iio: gts-helpers: fix integration time units 2023-05-13 17:54:57 +01:00
industrialio-sw-device.c
industrialio-sw-trigger.c iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails 2022-11-12 17:53:35 +00:00
industrialio-trigger.c iio: trigger: Add simple trigger_validation helper 2023-05-23 21:20:17 +01:00
industrialio-triggered-event.c
inkern.c
Kconfig iio: light: Add gain-time-scale helpers 2023-04-10 12:26:34 +01:00
Makefile iio: light: Add gain-time-scale helpers 2023-04-10 12:26:34 +01:00
TODO iio: core: move 'mlock' to 'struct iio_dev_opaque' 2022-11-23 19:44:00 +00:00