Skip to content

Commit e08a1ad

Browse files
committed
drivers: dma: siwx91x: SRAM desc alignment bug fix
Addressed an issue where alignment of dma desc varaible of dma0 is corrected to 1024 instead of 512. Signed-off-by: Sai Santhosh Malae <[email protected]>
1 parent b1a0870 commit e08a1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/dma_silabs_siwx91x.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ static DEVICE_API(dma, siwx91x_dma_api) = {
671671
CONFIG_DMA_SILABS_SIWX91X_SG_BUFFER_COUNT, 4); \
672672
COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, silabs_sram_region), \
673673
(), \
674-
(static __aligned(512) RSI_UDMA_DESC_T \
674+
(static __aligned(1024) RSI_UDMA_DESC_T \
675675
siwx91x_dma_chan_desc##inst[DT_INST_PROP(inst, dma_channels) * 2];)) \
676676
static struct dma_siwx91x_channel_info \
677677
zephyr_channel_info_##inst[DT_INST_PROP(inst, dma_channels)]; \

0 commit comments

Comments
 (0)