summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/coreboot/33fb4cf0ffb01be8bcb6b488872c87eb50e7d77f/grub/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-08 01:00:09 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-03-08 02:32:32 (EST)
commitdfa21bb8ee01eac21a2acee79011a634cb67e373 (patch)
tree21cd4f855aa03db13abba91400ad3be212b11602 /resources/libreboot/patch/coreboot/33fb4cf0ffb01be8bcb6b488872c87eb50e7d77f/grub/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch
parent2e5e505da125f9d90dd63c1cbcb08bf5316b21ae (diff)
downloadlibreboot-dfa21bb8ee01eac21a2acee79011a634cb67e373.zip
libreboot-dfa21bb8ee01eac21a2acee79011a634cb67e373.tar.gz
libreboot-dfa21bb8ee01eac21a2acee79011a634cb67e373.tar.bz2
Update coreboot (kgpe-d16,kcma-d8,kfsn4-dre,d510mo,ga-g41m-es2l)
Update to the latest coreboot and vboot versions at the time of writing: coreboot 2a3434757ef425dbdfedf1fc69e1a033a6e7310d vboot d187cd3fc792f8bcefbee4587c83eafbd08441fc
Diffstat (limited to 'resources/libreboot/patch/coreboot/33fb4cf0ffb01be8bcb6b488872c87eb50e7d77f/grub/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch')
-rw-r--r--resources/libreboot/patch/coreboot/33fb4cf0ffb01be8bcb6b488872c87eb50e7d77f/grub/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/resources/libreboot/patch/coreboot/33fb4cf0ffb01be8bcb6b488872c87eb50e7d77f/grub/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch b/resources/libreboot/patch/coreboot/33fb4cf0ffb01be8bcb6b488872c87eb50e7d77f/grub/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch
deleted file mode 100644
index bf9c829..0000000
--- a/resources/libreboot/patch/coreboot/33fb4cf0ffb01be8bcb6b488872c87eb50e7d77f/grub/kgpe-d16/0143-device-smbus-Avoid-infinite-loop-if-i2c-device-has-w.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 54ef1e4efe549e310b29258fe9c2efcc367ae942 Mon Sep 17 00:00:00 2001
-From: Timothy Pearson <tpearson@raptorengineeringinc.com>
-Date: Thu, 22 Oct 2015 17:19:19 -0500
-Subject: [PATCH 143/143] device/smbus: Avoid infinite loop if i2c device has
- wrong parent
-
-Change-Id: I4c615f3c5b3908178b8223cb6620c393bbfb4e7f
-Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
----
- src/device/smbus_ops.c | 13 +++++++++++--
- 1 file changed, 11 insertions(+), 2 deletions(-)
-
-diff --git a/src/device/smbus_ops.c b/src/device/smbus_ops.c
-index 184a06a..f4b1355 100644
---- a/src/device/smbus_ops.c
-+++ b/src/device/smbus_ops.c
-@@ -29,8 +29,17 @@ struct bus *get_pbus_smbus(device_t dev)
- {
- struct bus *pbus = dev->bus;
-
-- while (pbus && pbus->dev && !ops_smbus_bus(pbus))
-- pbus = pbus->dev->bus;
-+ while (pbus && pbus->dev && !ops_smbus_bus(pbus)) {
-+ if (pbus->dev->bus != pbus) {
-+ pbus = pbus->dev->bus;
-+ }
-+ else {
-+ printk(BIOS_WARNING,
-+ "%s Find SMBus bus operations: unable to proceed\n",
-+ dev_path(dev));
-+ break;
-+ }
-+ }
-
- if (!pbus || !pbus->dev || !pbus->dev->ops
- || !pbus->dev->ops->ops_smbus_bus) {
---
-1.7.9.5
-