Commit 6262a3692b921a82075695c5c6d10f4a6bcc5fac

Authored by Wang YanQing
Committed by Greg Kroah-Hartman
1 parent f2e0ea8611

serial:8250:8250_pci: fix redundant entry report for WCH_CH352_2S

Commit 8b5c913f7ee6464849570bacb6bcd9ef0eaf7dce
("serial: 8250_pci: Add WCH CH352 quirk to avoid Xscale detection")
trigger one redundant entry report message.

This patch fix it.

Reported-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

drivers/tty/serial/8250/8250_pci.c
... ... @@ -5415,10 +5415,6 @@
5415 5415 PCI_ANY_ID, PCI_ANY_ID,
5416 5416 0, 0, pbn_b0_bt_2_115200 },
5417 5417  
5418   - { PCI_VENDOR_ID_WCH, PCI_DEVICE_ID_WCH_CH352_2S,
5419   - PCI_ANY_ID, PCI_ANY_ID,
5420   - 0, 0, pbn_b0_bt_2_115200 },
5421   -
5422 5418 { PCIE_VENDOR_ID_WCH, PCIE_DEVICE_ID_WCH_CH384_4S,
5423 5419 PCI_ANY_ID, PCI_ANY_ID,
5424 5420 0, 0, pbn_wch384_4 },