aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/8250.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 9cc74712795d..e001ea0606ec 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2256,8 +2256,7 @@ serial8250_console_write(struct console *co, const char *s, unsigned int count)
2256 * and restore the IER 2256 * and restore the IER
2257 */ 2257 */
2258 wait_for_xmitr(up, BOTH_EMPTY); 2258 wait_for_xmitr(up, BOTH_EMPTY);
2259 up->ier |= UART_IER_THRI; 2259 serial_out(up, UART_IER, ier);
2260 serial_out(up, UART_IER, ier | UART_IER_THRI);
2261} 2260}
2262 2261
2263static int serial8250_console_setup(struct console *co, char *options) 2262static int serial8250_console_setup(struct console *co, char *options)