tty: 8250: Fix port count of PX-257
authorCameron Williams <cang1@live.co.uk>
Fri, 20 Oct 2023 16:03:12 +0000 (17:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Oct 2023 16:51:04 +0000 (18:51 +0200)
commitd0ff5b24c2f112f29dea4c38b3bac9597b1be9ba
treec63ffd09de7853bfbdfc2ca2817ac2d52c2a1ed2
parent4d994e3cf1b541ff32dfb03fbbc60eea68f9645b
tty: 8250: Fix port count of PX-257

The port count of the PX-257 Rev3 is actually 2, not 4.

Fixes: ef5a03a26c87 ("tty: 8250: Add support for Brainboxes PX cards.")
Cc: stable@vger.kernel.org
Signed-off-by: Cameron Williams <cang1@live.co.uk>
Link: https://lore.kernel.org/r/DU0PR02MB7899C804D9F04E727B5A0E8FC4DBA@DU0PR02MB7899.eurprd02.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c