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 07:44:37 +0000 (08:44 +0100)
commit1a366cb3ae98013c1db9d498ce1a959f711d6f73
tree492d2aafd22df3e615c599d95b3947ad7556ce0c
parent7bc0cb4da25ea85a177451339637bfe08580f11d
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