serial: Move carriage return before line feed for some serial drivers
authorAlison Wang <b18965@freescale.com>
Wed, 2 Mar 2016 03:00:37 +0000 (11:00 +0800)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commit055457ef25357d1921a8ed13ebfd32c526f12106
treec97826f8e0ad88c7e486b4cdae2cda56d3495621
parentc5917b4b054d60c6c495f06b0538afed39dfe343
serial: Move carriage return before line feed for some serial drivers

In general, a carriage return needs to execute before a line feed.
The patch is to change some serial drivers based on this rule, such
as serial_mxc.c, serial_pxa.c, serial_s3c24x0.c and usbtty.c.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/serial/serial_mxc.c
drivers/serial/serial_pxa.c
drivers/serial/serial_s3c24x0.c
drivers/serial/usbtty.c