summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-ps3.c
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2008-10-31 13:52:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-11-13 14:45:02 -0800
commitddcb01ff9bf49c4dbbb058423559f7bc90b89374 (patch)
treea56d85c781ae42a0495472874615e745fc288152 /drivers/usb/host/ehci-ps3.c
parent8010e06cc90367b4d3fba3b0ec3ced32360ac890 (diff)
downloadop-kernel-dev-ddcb01ff9bf49c4dbbb058423559f7bc90b89374.zip
op-kernel-dev-ddcb01ff9bf49c4dbbb058423559f7bc90b89374.tar.gz
USB: Fix PS3 USB shutdown problems
Add ehci_shutdown() or ohci_shutdown() calls to the USB PS3 bus glue. ehci_shutdown() and ohci_shutdown() do some controller specific cleanups not done by usb_remove_hcd(). Fixes errors on shutdown or reboot similar to these: ps3-ehci-driver sb_07: HC died; cleaning up irq 51: nobody cared (try booting with the "irqpoll" option) Related bugzilla reports: http://bugzilla.kernel.org/show_bug.cgi?id=11819 http://bugzilla.terrasoftsolutions.com/show_bug.cgi?id=317 Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-ps3.c')
-rw-r--r--drivers/usb/host/ehci-ps3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-ps3.c b/drivers/usb/host/ehci-ps3.c
index 0eba894..9c9da35 100644
--- a/drivers/usb/host/ehci-ps3.c
+++ b/drivers/usb/host/ehci-ps3.c
@@ -205,6 +205,7 @@ static int ps3_ehci_remove(struct ps3_system_bus_device *dev)
tmp = hcd->irq;
+ ehci_shutdown(hcd);
usb_remove_hcd(hcd);
ps3_system_bus_set_driver_data(dev, NULL);
OpenPOWER on IntegriCloud