]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: 8250_pci: Resolve WCH vendor ID ambiguity
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Dec 2024 03:09:21 +0000 (05:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:25 +0000 (14:01 +0100)
commitc58e0d2d04fac2df975b51c682a465fb9e918931
tree69e2a1ce4c13302a7e572961eb13c4af161b3b4a
parent4d8e3a746b6c033fb1930969e1ce15a067ea361c
serial: 8250_pci: Resolve WCH vendor ID ambiguity

[ Upstream commit 16076ca3a1565491bcb28689e555d569a39391c7 ]

There are two sites of the same brand: wch.cn and wch-ic.com.
They are property of the same company, but it appears that they
managed to get two different PCI vendor IDs. Rename them accordingly
using standard pattern, i.e. PCI_VENDOR_ID_...

While at it, move to PCI_VDEVICE() in the ID tables.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241204031114.1029882-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/8250/8250_pci.c