summarylogtreecommitdiffstats
path: root/patch.diff
blob: 33a3eb892abefcac9cbbf6d2e76a22bca37164b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur original/drivers/i2c/busses/i2c-piix4.c patched/drivers/i2c/busses/i2c-piix4.c
--- original/drivers/i2c/busses/i2c-piix4.c	2018-01-28 13:20:33.000000000 -0800
+++ patched/drivers/i2c/busses/i2c-piix4.c	2018-12-01 13:59:09.432260167 -0800
@@ -966,6 +966,11 @@
 		retval = piix4_setup_sb800(dev, id, 1);
 	}
 
+	if (dev->vendor == PCI_VENDOR_ID_AMD &&
+			dev->device == PCI_DEVICE_ID_AMD_KERNCZ_SMBUS) {
+		retval = piix4_setup_sb800(dev, id, 1);
+	}
+
 	if (retval > 0) {
 		/* Try to add the aux adapter if it exists,
 		 * piix4_add_adapter will clean up if this fails */