|
@@ -424,6 +424,10 @@ static int pl011_startup(struct uart_port *port)
|
|
cr = UART01x_CR_UARTEN | UART011_CR_RXE | UART011_CR_TXE;
|
|
cr = UART01x_CR_UARTEN | UART011_CR_RXE | UART011_CR_TXE;
|
|
writew(cr, uap->port.membase + UART011_CR);
|
|
writew(cr, uap->port.membase + UART011_CR);
|
|
|
|
|
|
|
|
+ /* Clear pending error interrupts */
|
|
|
|
+ writew(UART011_OEIS | UART011_BEIS | UART011_PEIS | UART011_FEIS,
|
|
|
|
+ uap->port.membase + UART011_ICR);
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* initialise the old status of the modem signals
|
|
* initialise the old status of the modem signals
|
|
*/
|
|
*/
|