diff options
| author | Jonathan Cameron <[email protected]> | 2022-06-26 13:29:31 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-08-15 22:30:00 +0100 |
| commit | 431e9147b4667d67399fe5db4f8203d55811951b (patch) | |
| tree | f653af3c5f57c928791a7cd86d34b68a3672817c /tools/perf/scripts/python/syscall-counts.py | |
| parent | 90e7853ce051bca3690d3518e523f427e55c4806 (diff) | |
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions