Home
last modified time | relevance | path

Searched hist:"5 b5f252d67afd7bd5b923c664206d60800bf5054" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/serial/8250/
H A D8250_exar.cdiff 5b5f252d67afd7bd5b923c664206d60800bf5054 Wed Feb 08 17:09:04 CET 2017 Jan Kiszka <jan.kiszka@siemens.com> serial: exar: Fix initialization of EXAR registers for ports > 0

So far, pci_xr17v35x_setup always initialized 8XMODE, FCTR & Co. for
port 0 because it used the address of that port instead of moving the
pointer according to the port number. Fix this and remove the unneeded
temporary ioremap by moving default_setup up and reusing the membase it
fills into the port structure.

Fixes: 14faa8cce88e ("tty/8250 Add support for Commtech's Fastcom Async-335 and Fastcom Async-PCIe cards")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>