Commit 6a11371c authored by Pu Wen's avatar Pu Wen
Browse files

i2c-piix4: Remove the IMC detecting for Hygon SMBus

hygon inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8U3OJ


CVE: NA

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

Remove IMC detecting path for Hygon processors.

Fixes: 24beb83a ("i2c-piix4: Add Hygon Dhyana SMBus support")
Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent d553095c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1043,8 +1043,7 @@ static int piix4_probe(struct pci_dev *dev, const struct pci_device_id *id)
		bool notify_imc = false;
		is_sb800 = true;

		if ((dev->vendor == PCI_VENDOR_ID_AMD ||
		     dev->vendor == PCI_VENDOR_ID_HYGON) &&
		if (dev->vendor == PCI_VENDOR_ID_AMD &&
		    dev->device == PCI_DEVICE_ID_AMD_KERNCZ_SMBUS) {
			u8 imc;