aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2024-03-11 12:28:00 -0400
committerJonathan Cameron <[email protected]>2024-06-08 18:26:57 +0100
commit89b898c627a49b978a4c323ea6856eacfc21f6ba (patch)
treedbba13b3dee31f55ee848b5150734e2a5892f784 /scripts/gdb/linux/utils.py
parent8f40af31971ce012c0a4b13444900aed3f708edf (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions