]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: EHCI: Fix crash during hibernation on ASUS computers
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 12 Aug 2012 21:26:07 +0000 (23:26 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Sep 2012 02:37:03 +0000 (03:37 +0100)
commite18b3cbd16e4d5f77f9b9138ab143b2d10db88fe
treed09fd54e6ec075a89a8c3e6d23664f64b13b1d67
parent8dd138a98241fc7be5d89950e6e09bbc18024a53
PCI: EHCI: Fix crash during hibernation on ASUS computers

commit 0b68c8e2c3afaf9807eb1ebe0ccfb3b809570aa4 upstream.

Commit dbf0e4c (PCI: EHCI: fix crash during suspend on ASUS
computers) added a workaround for an ASUS suspend issue related to
USB EHCI and a bug in a number of ASUS BIOSes that attempt to shut
down the EHCI controller during system suspend if its PCI command
register doesn't contain 0 at that time.

It turns out that the same workaround is necessary in the analogous
hibernation code path, so add it.

References: https://bugzilla.kernel.org/show_bug.cgi?id=45811
Reported-and-tested-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/pci/pci-driver.c