• David Brownell's avatar
    [PATCH] USB: usbcore sets up root hubs earlier · b1e8f0a6
    David Brownell authored
    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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    b1e8f0a6
hcd.c 55 KB