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 13:35:25 +0000 (14:35 +0100)
commitbad49519b26aa493ee78420cd9d687e90178b00c
tree1b5b6eb261a5be442892a54588f09c00d62ea4f5
parentafb6cf5eb55bb49b110e9826a03b777f428ce2be
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