
26 Feb
2016
26 Feb
'16
2:56 a.m.
Hi Marek,
On 25 February 2016 at 10:55, Marek Vasut marex@denx.de wrote:
On 02/25/2016 03:41 AM, Alison Wang wrote:
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
Why isn't this CR-LF stuff handled in common code instead ? It'd be much better than having billion copies of the exact same logic (some of them more buggy than the others) in drivers.
With driver model it is.
Regards, Simon