Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / tty / serial / timbuart.c
index 03e746378f1e9617f2b0f3bddcdffd9443da2c9f..512c162634a37d382fb78b269ec419e9fea52cf7 100644 (file)
@@ -273,6 +273,8 @@ static void timbuart_shutdown(struct uart_port *port)
        dev_dbg(port->dev, "%s\n", __func__);
        free_irq(port->irq, uart);
        iowrite32(0, port->membase + TIMBUART_IER);
+
+       timbuart_flush_buffer(port);
 }
 
 static int get_bindex(int baud)