summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@linux.dev>2024-03-11 19:28:00 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-08 20:26:57 +0300
commit89b898c627a49b978a4c323ea6856eacfc21f6ba (patch)
treedbba13b3dee31f55ee848b5150734e2a5892f784 /scripts/generate_rust_analyzer.py
parent8f40af31971ce012c0a4b13444900aed3f708edf (diff)
downloadlinux-89b898c627a49b978a4c323ea6856eacfc21f6ba.tar.xz
iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask
ams_enable_channel_sequence constructs a "scan_mask" for all the PS and PL channels. This works out fine, since scan_index for these channels is less than 64. However, it also includes the ams_ctrl_channels, where scan_index is greater than 64, triggering undefined behavior. Since we don't need these channels anyway, just exclude them. Fixes: d5c70627a794 ("iio: adc: Add Xilinx AMS driver") Signed-off-by: Sean Anderson <sean.anderson@linux.dev> Link: https://lore.kernel.org/r/20240311162800.11074-1-sean.anderson@linux.dev Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions