serial: 8250_pci: Correct uartclk for xr17v35x expansion chips
authorSoeren Grunewald <soeren.grunewald@desy.de>
Thu, 11 Jun 2015 07:25:05 +0000 (09:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:34:40 +0000 (17:34 -0700)
commit899f0c1c7dbcc487fdc8756a49ff70b1d5d75f89
tree40701d601b271fc8ca9df87b8788f7d490479abc
parentbe32c0cf0462c36f482b5ddcff1d8371be1e183c
serial: 8250_pci: Correct uartclk for xr17v35x expansion chips

The internal clock of the master chip, which is usually 125MHz, is only half
(62.5MHz) for the slave chips. So we have to adjust the uartclk for all the
slave ports. Therefor we add a new function to determine if a slave chip is
present and update pci_xr17v35x_setup accordingly.

Signed-off-by: Soeren Grunewald <soeren.grunewald@desy.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c
This page took 0.024587 seconds and 5 git commands to generate.