drivers: dma: dma_sam0: change sam0 DMA to higher priority init.
fixes peripheral drivers such as async uart that rely on dma being ready failing because dma is not initialized yet. Signed-off-by: Ron Smith <rockyowl171@gmail.com>
This commit is contained in:
parent
0d53844714
commit
4f9ac180b4
1 changed files with 2 additions and 2 deletions
|
@ -458,5 +458,5 @@ static const struct dma_driver_api dma_sam0_api = {
|
|||
};
|
||||
|
||||
DEVICE_DT_INST_DEFINE(0, &dma_sam0_init, NULL,
|
||||
&dmac_data, NULL, POST_KERNEL,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &dma_sam0_api);
|
||||
&dmac_data, NULL, PRE_KERNEL_1,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &dma_sam0_api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue