Skip to content

Commit 3063200

Browse files
bseiboldgregkh
authored andcommitted
serial: lantiq: add missing interrupt ack
Currently, the error interrupt is never acknowledged, so once active it will stay active indefinitely, causing the handler to be called in an infinite loop. Fixes: 2f0fc41 ("SERIAL: Lantiq: Add driver for MIPS Lantiq SOCs.") Cc: <[email protected]> Signed-off-by: Bernhard Seibold <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Message-ID: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9561de3 commit 3063200

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/tty/serial/lantiq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ lqasc_err_int(int irq, void *_port)
250250
struct ltq_uart_port *ltq_port = to_ltq_uart_port(port);
251251

252252
spin_lock_irqsave(&ltq_port->lock, flags);
253+
__raw_writel(ASC_IRNCR_EIR, port->membase + LTQ_ASC_IRNCR);
253254
/* clear any pending interrupts */
254255
asc_update_bits(0, ASCWHBSTATE_CLRPE | ASCWHBSTATE_CLRFE |
255256
ASCWHBSTATE_CLRROE, port->membase + LTQ_ASC_WHBSTATE);

0 commit comments

Comments
 (0)