commit | 7e1bda9eaec7589c4d490b1257adac83d6a75ec6 | [log] [tgz] |
---|---|---|
author | Patrik Dahlström <risca@dalakolonin.se> | Sat Dec 21 17:25:12 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 24 11:19:52 2020 -0500 |
tree | 5dbc242a579e1d6d31214f6482f7029f9558b005 | |
parent | a29ae45f3e86cad0ca8d2016fc6bda48b6dd0200 [diff] |
serial: ns16550: Use old baud rate divisor for flushing if not given If baud_divisor is not set (i.e. == -1), we should use the baud divisor already in use for flushing the xmit register. If we don't flush the xmit register, then SPL will hang. Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>