drivers: serial: mcux_lpuart: fix infinite loop
Avoid entering an infinite loop when configuring the the NXP Kinetis
LPUART IRQ.
Fixes 9a65318a5b
.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
d4f22a8216
commit
cb83b96a60
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ static const struct uart_driver_api mcux_lpuart_driver_api = {
|
|||
mcux_lpuart_isr, DEVICE_GET(uart_##n), 0); \
|
||||
\
|
||||
irq_enable(DT_INST_IRQ_BY_IDX(n, i, irq)); \
|
||||
} while (1)
|
||||
} while (0)
|
||||
#define LPUART_MCUX_CONFIG_FUNC(n) \
|
||||
static void mcux_lpuart_config_func_##n(struct device *dev) \
|
||||
{ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue