diff options
-rw-r--r-- | drivers/serial/mpc52xx_uart.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c index f8c1761eb57f..35f8b86cc78f 100644 --- a/drivers/serial/mpc52xx_uart.c +++ b/drivers/serial/mpc52xx_uart.c | |||
@@ -257,9 +257,10 @@ mpc52xx_uart_shutdown(struct uart_port *port) | |||
257 | { | 257 | { |
258 | struct mpc52xx_psc __iomem *psc = PSC(port); | 258 | struct mpc52xx_psc __iomem *psc = PSC(port); |
259 | 259 | ||
260 | /* Shut down the port, interrupt and all */ | 260 | /* Shut down the port. Leave TX active if on a console port */ |
261 | out_8(&psc->command,MPC52xx_PSC_RST_RX); | 261 | out_8(&psc->command,MPC52xx_PSC_RST_RX); |
262 | out_8(&psc->command,MPC52xx_PSC_RST_TX); | 262 | if (!uart_console(port)) |
263 | out_8(&psc->command,MPC52xx_PSC_RST_TX); | ||
263 | 264 | ||
264 | port->read_status_mask = 0; | 265 | port->read_status_mask = 0; |
265 | out_be16(&psc->mpc52xx_psc_imr,port->read_status_mask); | 266 | out_be16(&psc->mpc52xx_psc_imr,port->read_status_mask); |