]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OHCI: Fix machine check in ohci_hub_status_data
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 4 May 2007 15:57:00 +0000 (11:57 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jun 2007 23:24:31 +0000 (16:24 -0700)
commit6fd75b19483b2f6e6619602a535b4939e46921c1
treeb558ebc17728b2f92763f3ddc2fa94f54796e8a0
parent615ae11b3b4af7a5adb0819ff11b3b764eb92268
OHCI: Fix machine check in ohci_hub_status_data

This patch (as901) fixes an oversight in ohci-hcd.  The
hub_status_data routine must not try to access the controller's
memory-mapped registers if the controller is in a low-power state;
such attempts will cause a crash on some architectures (such as PPC).

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hub.c