commit | d3fb8fee7d8225845cedfd0b9d23b2a8d6f8c6ee | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sun Feb 07 14:50:01 2021 +0100 |
committer | Marek Vasut <marex@denx.de> | Wed Mar 03 04:12:45 2021 +0100 |
tree | f03d0af72e50c544a089f500d14df4671f1ec464 | |
parent | 78af81c345430a9088235f48d302922955d2499f [diff] |
serial: usbtty: Fix puts function This function has incorrect implementation of prepending CR prior LF. Without this patch it prepended CR prior whole string which is going to be written and let LF without leading CR. Fix this issue by inserting CR at correct place to make output on usbtty serial console more readable. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Lukasz Majewski <lukma@denx.de> Acked-by: Pavel Machek <pavel@ucw.cz>