aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMatti Vaittinen <[email protected]>2023-06-13 12:35:12 +0300
committerJonathan Cameron <[email protected]>2023-07-15 18:02:02 +0100
commit95fb1e7b23bc82130016daefa02a87e83185ca95 (patch)
treee5d5ae46b5ce200b4297763b28b0ef8a317c8c5f /lib/mpi/mpiutil.c
parent096649cd7cb0fc1c8f684829f816d938ad1eb808 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/240a7ca5fc1b76da20d81f930d00f31a54b1fdf8.1686648422.git.mazziesaccount@gmail.com Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions