summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorShuvam Pandey <shuvampandey1@gmail.com>2026-04-06 12:53:24 +0300
committerJonathan Cameron <jic23@kernel.org>2026-05-15 14:01:38 +0300
commit8ce176501f836634f9c0419c0820140f968e9dc5 (patch)
tree618b1f135f62a5c9722c84ad4562060027c1e6c4 /include/linux/debugobjects.h
parent1f4f0bcc5255dec5c4c3a1551bf49d8c33b69b20 (diff)
downloadlinux-8ce176501f836634f9c0419c0820140f968e9dc5.tar.xz
iio: adc: nxp-sar-adc: zero-initialize dma_slave_config
nxp_sar_adc_start_cyclic_dma() only fills the RX-side members of dma_slave_config before passing it to dmaengine_slave_config(). Zero-initialize the structure so unused members do not contain stack garbage. Some DMA engines consult optional dma_slave_config fields, so leaving them uninitialized can cause DMA setup failures. Fixes: 4434072a893e ("iio: adc: Add the NXP SAR ADC support for the s32g2/3 platforms") Signed-off-by: Shuvam Pandey <shuvampandey1@gmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions