i2c-piix4: Remove the IMC detecting for Hygon SMBus

Remove IMC detecting path for Hygon processors.

Signed-off-by: Pu Wen <puwen@hygon.cn>
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: Bin Lai <robinlai@tencent.com>
Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: caelli <caelli@tencent.com>
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
This commit is contained in:
Pu Wen 2023-06-08 12:41:07 +08:00 committed by Jianping Liu
parent 35c1b7081e
commit 6b45f25208
1 changed files with 1 additions and 2 deletions

View File

@ -924,8 +924,7 @@ static int piix4_probe(struct pci_dev *dev, const struct pci_device_id *id)
bool notify_imc = false; bool notify_imc = false;
is_sb800 = true; is_sb800 = true;
if ((dev->vendor == PCI_VENDOR_ID_AMD || if (dev->vendor == PCI_VENDOR_ID_AMD &&
dev->vendor == PCI_VENDOR_ID_HYGON) &&
dev->device == PCI_DEVICE_ID_AMD_KERNCZ_SMBUS) { dev->device == PCI_DEVICE_ID_AMD_KERNCZ_SMBUS) {
u8 imc; u8 imc;