diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2017-02-08 17:09:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-10 15:12:38 +0100 |
commit | 5b5f252d67afd7bd5b923c664206d60800bf5054 (patch) | |
tree | 891e8c8161974a0f6a57ea46b151624fc5277b6a /scripts/gcc-plugins/gcc-generate-ipa-pass.h | |
parent | 24572af4fb6ce0726dbe12b0286de11d25ff008b (diff) |
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>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-ipa-pass.h')
0 files changed, 0 insertions, 0 deletions