• David Brownell's avatar
    [PATCH] USB: usb hcd states · 95ec612c
    David Brownell authored
    AFAICT this is ready for your next merge with Linus.
    
    Ben's ohci stuff was not cooked yet, seemed like the
    pm stuff wasn't yet supporting the hook(s) he needed.
    RMK had similar issues w.r.t. PM on ARM too.
    
    
    This patch includes:
    
       - updates from Benjamin Herrenschmidt to make usbcore
         behave a bit better during PM suspend (setting and
         checking hcd state).
    
       - related updates from me, making more paths into hcds
         fail when the driver is suspended.
    
       - updates based on some feedback from Alan Stern,
         notably including getting rid of a state we don't
         really need (most of the patch, by volume).
    
       - an experiment that tries to give a warning in the
         sadly common case of ACPI or APIC (etc) settings
         that need to change before USB works.
    
    Net effect is that some of the PM issues start to get
    resolved, maybe IRQ problems will be diagnosed quicker,
    and some overdue cleanup gets started.
    95ec612c
hcd.h 13.3 KB