diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-04-20 10:37:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 09:25:10 -0700 |
commit | fcf7d2141f4a363a4a8454c4a0f26bb69e766c5f (patch) | |
tree | 53a72787cba660277e072f094ce4447c335b37e9 /drivers/usb/early | |
parent | 62f9cfa3ece58268b3e92ca59c23b175f86205aa (diff) |
USB: OHCI: don't look at the root hub to get the number of ports
This patch (as1371) fixes a small bug in ohci-hcd. The HCD already
knows how many ports the controller has; there's no need to go looking
at the root hub's usb_device structure to find out. Especially since
the root hub's maxchild value is set correctly only while the root hub
is bound to the hub driver.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/early')
0 files changed, 0 insertions, 0 deletions