tty: serial: 8250_core: remove UART_IER_RDI in serial8250_stop_rx()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 10 Sep 2014 19:30:00 +0000 (21:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Sep 2014 16:01:56 +0000 (18:01 +0200)
commit9137568e73c1d132bc786676d9c4e00b91a1c627
tree89ae398e6200d5d216a11100afeca9bc9de6c2a1
parent59b3e898ddfc81a65975043b5eb44103cc29ff6e
tty: serial: 8250_core: remove UART_IER_RDI in serial8250_stop_rx()

serial8250_do_startup() adds UART_IER_RDI and UART_IER_RLSI to ier.
serial8250_stop_rx() should remove both.
This is what the serial-omap driver has been doing and is now moved to
the 8250-core since it does no look to be *that* omap specific.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c