summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorShuvam Pandey <shuvampandey1@gmail.com>2026-04-06 15:38:24 +0545
committerJonathan Cameron <jic23@kernel.org>2026-05-15 12:01:38 +0100
commit8ce176501f836634f9c0419c0820140f968e9dc5 (patch)
tree618b1f135f62a5c9722c84ad4562060027c1e6c4 /scripts/objdiff
parent1f4f0bcc5255dec5c4c3a1551bf49d8c33b69b20 (diff)
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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions