diff options
| author | 2026-04-06 15:38:24 +0545 | |
|---|---|---|
| committer | 2026-05-15 12:01:38 +0100 | |
| commit | 8ce176501f836634f9c0419c0820140f968e9dc5 (patch) | |
| tree | 618b1f135f62a5c9722c84ad4562060027c1e6c4 /scripts/Makefile.thinlto | |
| parent | iio: light: cm3323: fix reg_conf not being initialized correctly (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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
