diff options
| author | Oliver Lang <[email protected]> | 2021-06-10 15:46:18 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-06-13 17:00:18 +0100 |
| commit | 71b33f6f93ef9462c84560e2236ed22209d26a58 (patch) | |
| tree | 8b528ee5379a4c81bdb008df85d4a33444c85b6e /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 421a26f3d7a7c3ca43f3a9dc0f3cb0f562d5bd95 (diff) | |
iio: ltr501: ltr501_read_ps(): add missing endianness conversion
The PS ADC Channel data is spread over 2 registers in little-endian
form. This patch adds the missing endianness conversion.
Fixes: 2690be905123 ("iio: Add Lite-On ltr501 ambient light / proximity sensor driver")
Signed-off-by: Oliver Lang <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Tested-by: Nikita Travkin <[email protected]> # ltr559
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions