Commit 300fec2c authored by Cameron Williams's avatar Cameron Williams Committed by Zheng Zengkai
Browse files

tty: 8250: Fix port count of PX-257

stable inclusion
from stable-v6.6.1
commit 143b10775f106a65f4741d5c16bac04bb17efcb0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IKRU

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=143b10775f106a65f4741d5c16bac04bb17efcb0



--------------------------------

commit d0ff5b24c2f112f29dea4c38b3bac9597b1be9ba upstream.

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

Fixes: ef5a03a2 ("tty: 8250: Add support for Brainboxes PX cards.")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarCameron Williams <cang1@live.co.uk>
Link: https://lore.kernel.org/r/DU0PR02MB7899C804D9F04E727B5A0E8FC4DBA@DU0PR02MB7899.eurprd02.prod.outlook.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ddf5c35e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5180,7 +5180,7 @@ static const struct pci_device_id serial_pci_tbl[] = {
	{	PCI_VENDOR_ID_INTASHIELD, 0x4015,
		PCI_ANY_ID, PCI_ANY_ID,
		0, 0,
		pbn_oxsemi_4_15625000 },
		pbn_oxsemi_2_15625000 },
	/*
	 * Brainboxes PX-260/PX-701
	 */