linux-stable/drivers/tty/serial/cpm_uart
Daniel Thompson 2fe686ebaf serial: cpm_uart: No LF conversion in put_poll_char()
In (c7d44a02a serial_core: Commonalize crlf when working w/ a non open
console port) the core was modified to make the UART poll_put_char()
automatically convert LF to CRLF. This driver's poll_put_char() adds a
CR itself and this was not disabled by the above patch meaning
currently it sends two CR characters.

The code to issue a character is shared by the console write code (where
driver must do LF to CRLF conversion, although it can make use of the
uart_console_write() helper function) and the poll_put_char (where
driver must not do the conversion). For that reason we add a flag rather
than simply rip out the conversion code.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-29 11:28:05 -07:00
..
cpm_uart.h
cpm_uart_core.c serial: cpm_uart: No LF conversion in put_poll_char() 2014-05-29 11:28:05 -07:00
cpm_uart_cpm1.c tty: delete non-required instances of include <linux/init.h> 2014-01-07 17:05:21 -08:00
cpm_uart_cpm1.h
cpm_uart_cpm2.c tty: delete non-required instances of include <linux/init.h> 2014-01-07 17:05:21 -08:00
cpm_uart_cpm2.h
Makefile