• David Brownell's avatar
    [PATCH] USB: usb PM updates, OHCI (3/4) · 5748930a
    David Brownell authored
    These OHCI updates go along with usbcore changes to avoid power_state
    (mostly for sysfs) and leave usbcore handling usb_device state (except
    for quick-disconnect on STD resume).
    
     - detect and ignore a root hub status polling call made during
       suspend without USB_RESUME (it'd act like CardBus eject...)
    
     - detect and ignore a superfluous root hub resume call made in
       some cases with USB_RESUME
    
     - use irqsave spinlock calls in timer callback paths
    
     - don't expect usbcore to understand "disconnect the root hub"
    
     - avoid some pointless delays/faults
    
    So it should fix a lot of the problems folk have been having with
    OHCI in the latest 2.6.10-rc1-bk kernels.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    5748930a
ohci-hub.c 16.3 KB