commit | 84567c3339fed2b6fe4979497429677bfcb51284 | [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 | 4432c4b4b69ee95c6884b893738a4eb7d85cc2d4 [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>