diff options
author | Matti Vaittinen <mazziesaccount@gmail.com> | 2023-06-13 12:35:12 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-07-15 18:02:02 +0100 |
commit | 95fb1e7b23bc82130016daefa02a87e83185ca95 (patch) | |
tree | e5d5ae46b5ce200b4297763b28b0ef8a317c8c5f /drivers/ufs | |
parent | 096649cd7cb0fc1c8f684829f816d938ad1eb808 (diff) | |
download | linux-stable-95fb1e7b23bc82130016daefa02a87e83185ca95.tar.gz linux-stable-95fb1e7b23bc82130016daefa02a87e83185ca95.tar.bz2 linux-stable-95fb1e7b23bc82130016daefa02a87e83185ca95.zip |
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: 41ff93d14f78 ("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>
Diffstat (limited to 'drivers/ufs')
0 files changed, 0 insertions, 0 deletions