serial: 8250_pci: Fix number of ports for ACCES serial cards
authorJay Dolan <jay.dolan@accesio.com>
Wed, 13 Feb 2019 05:43:11 +0000 (21:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 19:10:06 +0000 (20:10 +0100)
commit8225bb965f29bcf28f15fa47e37c799ca7a2f691
tree7cc2f18de67490e5902656592524b08537b05e43
parent9d0b55bb2aec89c1b10000a2871c3f3f9c427eee
serial: 8250_pci: Fix number of ports for ACCES serial cards

commit b896b03bc7fce43a07012cc6bf5e2ab2fddf3364 upstream.

Have the correct number of ports created for ACCES serial cards. Two port
cards show up as four ports, and four port cards show up as eight.

Fixes: c8d192428f52 ("serial: 8250: added acces i/o products quad and octal serial cards")
Signed-off-by: Jay Dolan <jay.dolan@accesio.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c