mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
serial: mvebu-uart: fix calculation of clock divisor
The clock divisor should be rounded to the closest value. Signed-off-by: Pali Rohár <pali@kernel.org> Fixes:68a0db1d7d("serial: mvebu-uart: add function to change baudrate") Cc: stable@vger.kernel.org #0e4cf69ede("serial: mvebu-uart: clarify the baud rate derivation") Link: https://lore.kernel.org/r/20210624224909.6350-2-pali@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4834446035
commit
9078204ca5
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue