summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-06-25 00:49:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:16:03 +0200
commit3941cf9b4b28fb787f98bbdae953ae433c19900e (patch)
tree36010c8f11c4c6b60710cbe06837c10cc18294a8 /fs
parent424f497d9bdc24185bcaebc1f3f458a8d85e9d87 (diff)
downloadlinux-stable-3941cf9b4b28fb787f98bbdae953ae433c19900e.tar.gz
linux-stable-3941cf9b4b28fb787f98bbdae953ae433c19900e.tar.bz2
linux-stable-3941cf9b4b28fb787f98bbdae953ae433c19900e.zip
serial: mvebu-uart: fix calculation of clock divisor
commit 9078204ca5c33ba20443a8623a41a68a9995a70d upstream. The clock divisor should be rounded to the closest value. Signed-off-by: Pali Rohár <pali@kernel.org> Fixes: 68a0db1d7da2 ("serial: mvebu-uart: add function to change baudrate") Cc: stable@vger.kernel.org # 0e4cf69ede87 ("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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions