This is addressing an issue where Rx interrupts were not restored for cdcacm after the buffer had been filled (in a burst). The Rx interrupts were only restored after the watchdog timeout of 200ms fired. This happened because CONFIG_SERIAL_RXDMA was set, however, for the cdcacm driver this does not actually matter as it is relying on uart_enablerxint to be called via the ops table. This patch makes sure that uart_enablerxint and uart_disablerxint are always called, independent of CONFIG_SERIAL_RXDMA, relying on the ops table to be correct for the case where it should be only a no-op. |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Kconfig-16550 | ||
| Kconfig-lpuart | ||
| Kconfig-sci | ||
| Kconfig-uart | ||
| Kconfig-usart | ||
| Make.defs | ||
| ptmx.c | ||
| pty.c | ||
| pty.h | ||
| serial.c | ||
| serial_dma.c | ||
| serial_io.c | ||
| tcdrain.c | ||
| uart_16550.c | ||
| uart_rpmsg.c | ||