diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-01-22 04:38:52 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:18:48 -0500 |
commit | c972d806fddfb7852ce0d37d2ed14072b6de670b (patch) | |
tree | 8ad066ea8a33828c14b967430c2fda8b8447aa6c /drivers/tty | |
parent | 25e8d0ed75a6b3e7c2f533f0460a48f903d94269 (diff) |
tty/serial: atmel_serial: remove dev_dbg in atmel_set_termios
This fixes a driver bug which stopped the whole system (in case
of serial console).
This log message is not useful anyway as this information is
printed elsewhere.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/atmel_serial.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index a49f10d269b2..3d7206fc532f 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -1853,13 +1853,10 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios, | |||
1853 | mode &= ~ATMEL_US_USMODE; | 1853 | mode &= ~ATMEL_US_USMODE; |
1854 | 1854 | ||
1855 | if (atmel_port->rs485.flags & SER_RS485_ENABLED) { | 1855 | if (atmel_port->rs485.flags & SER_RS485_ENABLED) { |
1856 | dev_dbg(port->dev, "Setting UART to RS485\n"); | ||
1857 | if ((atmel_port->rs485.delay_rts_after_send) > 0) | 1856 | if ((atmel_port->rs485.delay_rts_after_send) > 0) |
1858 | UART_PUT_TTGR(port, | 1857 | UART_PUT_TTGR(port, |
1859 | atmel_port->rs485.delay_rts_after_send); | 1858 | atmel_port->rs485.delay_rts_after_send); |
1860 | mode |= ATMEL_US_USMODE_RS485; | 1859 | mode |= ATMEL_US_USMODE_RS485; |
1861 | } else { | ||
1862 | dev_dbg(port->dev, "Setting UART to RS232\n"); | ||
1863 | } | 1860 | } |
1864 | 1861 | ||
1865 | /* set the parity, stop bits and data size */ | 1862 | /* set the parity, stop bits and data size */ |