aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2024-03-11 16:28:00 +0000
committerJonathan Cameron <[email protected]>2024-06-08 17:26:57 +0000
commit89b898c627a49b978a4c323ea6856eacfc21f6ba (patch)
treedbba13b3dee31f55ee848b5150734e2a5892f784 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentMerge tag 'iio-fixes-for-6.10a' of https://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-89b898c627a49b978a4c323ea6856eacfc21f6ba.tar.gz
kernel-89b898c627a49b978a4c323ea6856eacfc21f6ba.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions