summarylogtreecommitdiffstats
path: root/patch.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patch.diff')
-rw-r--r--patch.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/patch.diff b/patch.diff
new file mode 100644
index 000000000000..33a3eb892abe
--- /dev/null
+++ b/patch.diff
@@ -0,0 +1,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 */