• D
    [PATCH] USB: usbcore sets up root hubs earlier · b1e8f0a6
    David Brownell 提交于
    Make the HCD initialization sequence more sane ... notably, setting up
    root hubs before HCDs are asked to do their one-time init.  Among other
    things, that lets the HCDs do custom root hub init along with all the
    other one-time initialization done in the (now misnamed) reset() method.
    
    This also copies the controller wakeup flags into the root hub; it's
    done a bit later than would be ideal, but that'll be necessary until
    the PCI code initializes them correctly.  (The PCI patch breaks on PPC
    due to how it sequences PCI initialization.)
    Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    b1e8f0a6
hcd.c 55.0 KB