From: Alan Stern Date: Tue, 20 Apr 2010 14:37:57 +0000 (-0400) Subject: USB: OHCI: don't look at the root hub to get the number of ports X-Git-Tag: v2.6.34-rc7~38^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf7d2141f4a363a4a8454c4a0f26bb69e766c5f;p=pandora-kernel.git 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed