Commit 5c3abb23 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/I7DX6V


CVE: NA

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

Remove IMC detecting path for Hygon processors.

Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent 5ca92dcd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -912,8 +912,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;