linux/drivers/staging/iio
Jonathan Cameron 431e9147b4 staging: iio: cdc: ad7746: Use _raw and _scale for temperature channels.
Performing the maths to rescale a 24 bit raw reading within the driver
was resulting in precision losses.  So make that userspace's problem
by exporting the scale and letting the maths be done in userspace with
appropriate precision.  Issue identified using roadtester testing
framework.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220626122938.582107-11-jic23@kernel.org
2022-08-15 22:30:00 +01:00
..
accel iio:imu:adis: Move exports into IIO_ADISLIB namespace 2022-02-18 11:42:26 +00:00
adc iio:adc:ad7280a: Move out of staging 2022-02-21 19:33:05 +00:00
addac staging: iio: fix some formatting issues 2021-05-19 17:59:29 +02:00
cdc staging: iio: cdc: ad7746: Use _raw and _scale for temperature channels. 2022-08-15 22:30:00 +01:00
Documentation staging:iio:documentation: Drop most generic docs 2020-09-16 19:12:00 +01:00
frequency staging: iio: ad9832: convert probe to device-managed 2021-10-17 11:05:54 +01:00
impedance-analyzer iio: core: Simplify the registration of kfifo buffers 2022-04-10 16:25:46 +01:00
meter Merge 5.1-rc6 into staging-next 2019-04-21 23:18:44 +02:00
resolver staging: iio: ad2s1210: remove redundant assignment to variable negative 2022-04-28 19:22:56 +01:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: iio: Drop ADIS16060 driver from staging 2018-06-10 11:52:31 +01:00
TODO staging: iio: remove mention of defunct list 2021-03-25 19:13:49 +00:00