drivers: dma_mcux_lpc: Fix omitted interrupt config

Add the invocation of an interrupt config function
(config->irq_config_func). Absence of this call results in the DMA
driver not being able to service interrupts raised by the DMA
peripheral.

This case was observed on the i.MX RT685's HiFi 4 DSP domain, where DMA
was not functional because of this.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
This commit is contained in:
Vit Stanicek 2024-03-26 11:14:21 +01:00 committed by David Leach
parent eef91d4078
commit 903bbefef3

View file

@ -849,6 +849,8 @@ static int dma_mcux_lpc_init(const struct device *dev)
DMA_Init(DEV_BASE(dev));
INPUTMUX_Init(INPUTMUX);
config->irq_config_func(dev);
return 0;
}