diff options
| author | Gwendal Grignou <[email protected]> | 2021-11-04 08:24:13 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-11-17 17:51:44 +0000 |
| commit | 7721c73d8018ee8a8588ab165a34032bec27de4d (patch) | |
| tree | 1951b5a14d2624cf7f084cba532e464d79241f5a /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | iio: xilinx-xadc-core: Use local variable in xadc_read_raw (diff) | |
| download | kernel-7721c73d8018ee8a8588ab165a34032bec27de4d.tar.gz kernel-7721c73d8018ee8a8588ab165a34032bec27de4d.zip | |
iio: mpl3115: Use scan_type.shift and realbit in mpl3115_read_raw
When processing raw data using channel scan_type.shift as source of
trust to shift data appropriately.
When processing the temperature channel, use a 16bit big endian variable
as buffer to increase conversion readability.
Signed-off-by: Gwendal Grignou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
