diff options
author | David Lechner <dlechner@baylibre.com> | 2025-04-29 04:55:34 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-05-04 19:45:41 +0300 |
commit | 89944d88f8795c6c89b9514cb365998145511cd4 (patch) | |
tree | 0a7767e77c502066a6859790111ff74f1188dca1 /tools/perf/scripts/python/task-analyzer.py | |
parent | 3f5fd1717ae9497215f22aa748fc2c09df88b0e3 (diff) | |
download | linux-89944d88f8795c6c89b9514cb365998145511cd4.tar.xz |
iio: adc: ad7606_spi: fix reg write value mask
Fix incorrect value mask for register write. Register values are 8-bit,
not 9. If this function was called with a value > 0xFF and an even addr,
it would cause writing to the next register.
Fixes: f2a22e1e172f ("iio: adc: ad7606: Add support for software mode for ad7616")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250428-iio-adc-ad7606_spi-fix-write-value-mask-v1-1-a2d5e85a809f@baylibre.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions