diff options
| author | Quentin Schulz <[email protected]> | 2024-02-23 13:45:21 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-02-28 19:26:37 +0000 |
| commit | b0a4546df24a4f8c59b2d05ae141bd70ceccc386 (patch) | |
| tree | b58bac9f09a461d6a9f3edeeb9cef0887d03956c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b8b393348ad8eb1b96681dd155cd30d6184f61d3 (diff) | |
iio: adc: rockchip_saradc: fix bitmask for channels on SARADCv2
The SARADCv2 on RK3588 (the only SoC currently supported that has an
SARADCv2) selects the channel through the channel_sel bitfield which is
the 4 lowest bits, therefore the mask should be GENMASK(3, 0) and not
GENMASK(15, 0).
Fixes: 757953f8ec69 ("iio: adc: rockchip_saradc: Add support for RK3588")
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/20240223-saradcv2-chan-mask-v1-1-84b06a0f623a@theobroma-systems.com
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions