Skip to content

Commit 832a006

Browse files
jerome-pouillerkartben
authored andcommitted
drivers: dma: siwx91x: Early init is not required
DMA can be initialized with the other devices. The user only need to the ensure CONFIG_DMA_INIT_PRIORITY is less than the DMA consumers. Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent 382a6d5 commit 832a006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/dma_silabs_siwx91x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,6 @@ static DEVICE_API(dma, siwx91x_dma_api) = {
674674
.irq_configure = siwx91x_dma_irq_configure_##inst, \
675675
}; \
676676
DEVICE_DT_INST_DEFINE(inst, &siwx91x_dma_init, NULL, &dma_data_##inst, &dma_cfg_##inst, \
677-
PRE_KERNEL_1, CONFIG_DMA_INIT_PRIORITY, &siwx91x_dma_api);
677+
POST_KERNEL, CONFIG_DMA_INIT_PRIORITY, &siwx91x_dma_api);
678678

679679
DT_INST_FOREACH_STATUS_OKAY(SIWX91X_DMA_INIT)

0 commit comments

Comments
 (0)