diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-01-22 10:38:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 10:18:48 -0800 |
commit | c972d806fddfb7852ce0d37d2ed14072b6de670b (patch) | |
tree | 8ad066ea8a33828c14b967430c2fda8b8447aa6c /drivers/tty/serial/atmel_serial.c | |
parent | 25e8d0ed75a6b3e7c2f533f0460a48f903d94269 (diff) | |
download | op-kernel-dev-c972d806fddfb7852ce0d37d2ed14072b6de670b.zip op-kernel-dev-c972d806fddfb7852ce0d37d2ed14072b6de670b.tar.gz |
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/serial/atmel_serial.c')
-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 a49f10d..3d7206f 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, mode &= ~ATMEL_US_USMODE; if (atmel_port->rs485.flags & SER_RS485_ENABLED) { - dev_dbg(port->dev, "Setting UART to RS485\n"); if ((atmel_port->rs485.delay_rts_after_send) > 0) UART_PUT_TTGR(port, atmel_port->rs485.delay_rts_after_send); mode |= ATMEL_US_USMODE_RS485; - } else { - dev_dbg(port->dev, "Setting UART to RS232\n"); } /* set the parity, stop bits and data size */ |