]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i2c: imx: zero-initialize dma_slave_config for eDMA
authorAnthony Pighin <anthony.pighin@nokia.com>
Tue, 31 Mar 2026 18:26:32 +0000 (14:26 -0400)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 1 Apr 2026 23:22:46 +0000 (01:22 +0200)
commit39ed7d89b973329cc5c764b65ba6302b17b1907e
treea8da2b6f94dd0aa819a7140ec2a05111a9b4c9f0
parent7aaa8047eafd0bd628065b15757d9b48c5f9c07d
i2c: imx: zero-initialize dma_slave_config for eDMA

commit 66d88e16f204 ("dmaengine: fsl-edma: read/write multiple registers
in cyclic transactions") causes fsl_edma_fill_tcd() to read
dst_port_window_size and src_port_window_size when building transfer
control descriptors.

Initialize the structure so unset fields are explicitly zero.

Fixes: 66d88e16f204 ("dmaengine: fsl-edma: read/write multiple registers in cyclic transactions")
Signed-off-by: Anthony Pighin <anthony.pighin@nokia.com>
Cc: <stable@vger.kernel.org> # v6.14+
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260331182632.888110-1-anthony.pighin@nokia.com
drivers/i2c/busses/i2c-imx.c