dma: stm32: increase driver init priority
DMA driver shall be initialized before any of its clients. Right now, its initialization priority is lower than that of UARTs. So, increase its init priority to support future async uart drivers. Signed-off-by: Jun Li <jun.r.li@intel.com>
This commit is contained in:
parent
f9e0fa9af3
commit
8f7832cfb2
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ static struct dma_stm32_data dma_stm32_data_##index = { \
|
|||
DEVICE_AND_API_INIT(dma_##index, DT_INST_LABEL(index), \
|
||||
&dma_stm32_init, \
|
||||
&dma_stm32_data_##index, &dma_stm32_config_##index, \
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
||||
PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
||||
&dma_funcs)
|
||||
|
||||
#define irq_func(chan) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue