diff options
author | Pali Rohár <pali@kernel.org> | 2021-06-25 01:49:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-25 14:53:10 +0300 |
commit | 9078204ca5c33ba20443a8623a41a68a9995a70d (patch) | |
tree | 79db23254ad2a5406b6f02db39afa15aea6f5acb /include/media/tveeprom.h | |
parent | 4834446035a1011ff1231626ef33555d64c4fd78 (diff) | |
download | linux-9078204ca5c33ba20443a8623a41a68a9995a70d.tar.xz |
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: 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 'include/media/tveeprom.h')
0 files changed, 0 insertions, 0 deletions