diff options
| author | Rupesh Majhi <zoone.rupert@gmail.com> | 2026-09-21 21:31:25 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-09-28 17:07:37 +0100 |
| commit | f50da812fc531561f2fba167bb770a2262f4c4d9 (patch) | |
| tree | ee0f49b048742fa1e854aea7713b0fd904d5af62 /tools/perf/scripts/python/task-analyzer.py | |
| parent | d8ae6fc407f0eaa246053d52c8f8b01f70a5b40b (diff) | |
| download | linux-next-f50da812fc531561f2fba167bb770a2262f4c4d9.tar.gz linux-next-f50da812fc531561f2fba167bb770a2262f4c4d9.zip | |
iio: pressure: dps310: use get_unaligned_be24() for the 24-bit results
Pressure and temperature results are big-endian 24-bit values. Build them
with get_unaligned_be24() instead of open-coded shifts.
The coefficients are packed into the bytes rather than byte-aligned, so
they stay as they are.
Assisted-by: LLM
Signed-off-by: Rupesh Majhi <zoone.rupert@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
