summaryrefslogtreecommitdiff
path: root/drivers/accessibility/speakup/spk_ttyio.c
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2021-11-16 18:01:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-25 20:33:45 +0300
commit57dcb6ec85d59e04285b7dcf10924bb819c8e46f (patch)
tree969d2a2f278acda83e0edb75348b4fc735c19bd2 /drivers/accessibility/speakup/spk_ttyio.c
parentc668d5676461b9449b7a3e11912db3fba9ace94d (diff)
downloadlinux-57dcb6ec85d59e04285b7dcf10924bb819c8e46f.tar.xz
serial: 8250_dw: Add StarFive JH7100 quirk
On the StarFive JH7100 RISC-V SoC the UART core clocks can't be set to exactly 16 * 115200Hz and many other common bitrates. Trying this will only result in a higher input clock, but low enough that the UART's internal divisor can't come close enough to the baud rate target. So rather than try to set the input clock it's better to skip the clk_set_rate call and rely solely on the UART's internal divisor. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20211116150119.2171-15-kernel@esmil.dk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility/speakup/spk_ttyio.c')
0 files changed, 0 insertions, 0 deletions