Skip to content
Commit 17e71783 authored by Patrik Dahlström's avatar Patrik Dahlström Committed by Tom Rini
Browse files

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: default avatarPatrik Dahlström <risca@dalakolonin.se>
parent cf81ada8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment