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 <jerome.pouiller@silabs.com>
This commit is contained in:
Jérôme Pouiller 2025-04-15 12:21:47 +02:00 committed by Benjamin Cabé
commit 832a006806

View file

@ -674,6 +674,6 @@ static DEVICE_API(dma, siwx91x_dma_api) = {
.irq_configure = siwx91x_dma_irq_configure_##inst, \ .irq_configure = siwx91x_dma_irq_configure_##inst, \
}; \ }; \
DEVICE_DT_INST_DEFINE(inst, &siwx91x_dma_init, NULL, &dma_data_##inst, &dma_cfg_##inst, \ DEVICE_DT_INST_DEFINE(inst, &siwx91x_dma_init, NULL, &dma_data_##inst, &dma_cfg_##inst, \
PRE_KERNEL_1, CONFIG_DMA_INIT_PRIORITY, &siwx91x_dma_api); POST_KERNEL, CONFIG_DMA_INIT_PRIORITY, &siwx91x_dma_api);
DT_INST_FOREACH_STATUS_OKAY(SIWX91X_DMA_INIT) DT_INST_FOREACH_STATUS_OKAY(SIWX91X_DMA_INIT)