linux/drivers/dma/xilinx
Suraj Gupta 99dccb81cb dmaengine: xilinx_dma: Fix uninitialized addr_width when "xlnx,addrwidth" property is missing
[ Upstream commit c0732fe787 ]

When device tree lacks optional "xlnx,addrwidth" property, the addr_width
variable remained uninitialized with garbage values, causing incorrect
DMA mask configuration and subsequent probe failure. The fix ensures a
fallback to the default 32-bit address width when this property is missing.

Signed-off-by: Suraj Gupta <suraj.gupta2@amd.com>
Fixes: b72db4005f ("dmaengine: vdma: Add 64 bit addressing support to the driver")
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reviewed-by: Folker Schwesinger <dev@folker-schwesinger.de>
Link: https://patch.msgid.link/20251021183006.3434495-1-suraj.gupta2@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-01-23 11:18:40 +01:00
..
Makefile dmaengine: xilinx: xdma: Add xilinx xdma driver 2023-02-10 11:32:26 +05:30
xdma-regs.h dmaengine: xilinx: xdma: Fix regmap max_register 2026-01-23 11:18:40 +01:00
xdma.c dmaengine: xilinx: xdma: Fix regmap max_register 2026-01-23 11:18:40 +01:00
xilinx_dma.c dmaengine: xilinx_dma: Fix uninitialized addr_width when "xlnx,addrwidth" property is missing 2026-01-23 11:18:40 +01:00
xilinx_dpdma.c dmaengine: Fix spelling mistakes 2024-09-02 13:56:01 +05:30
zynqmp_dma.c dmaengine: zynqmp_dma: Add support for AMD Versal Gen 2 DMA IP 2024-08-29 22:46:16 +05:30