diff options
| author | 2025-11-12 23:56:59 +0100 | |
|---|---|---|
| committer | 2025-11-15 18:06:47 +0000 | |
| commit | 47e4b1ca441cc4f1d9db13ff5e9b89e53aae0198 (patch) | |
| tree | 20b755d6fbcda615dd800fbb9ada84625e45a8c7 /scripts/Makefile.thinlto | |
| parent | iio: buffer: use dma_buf_unmap_attachment_unlocked() helper (diff) | |
iio: mpl3115: use get_unaligned_be24() to retrieve pressure data
The pressure measurement result is arranged as 20-bit unsigned value
residing in three 8-bit registers. Hence, it can be retrieved using
get_unaligned_be24() and by applying 4-bit shift.
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Antoni Pokusinski <apokusinski01@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
