usb: ehci: Properly set hub devnum and portnr with usb-1 hubs in the chain
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Sep 2014 14:51:22 +0000 (16:51 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:42 +0000 (14:50 +0200)
commit4e2c4ad3604ba6f5053090749d64ed3ce5914805
tree6ba957ff3fad3f857d3bc6aa1b2e2e698ed1bb04
parentb966db0d7259293e2c9c216c7a5dce30dacacfd9
usb: ehci: Properly set hub devnum and portnr with usb-1 hubs in the chain

For full / low speed devices we need to get the devnum and portnr of the tt,
so of the first upstream usb-2 hub, not of the parent device (which may be a
usb-1 hub).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/ehci-hcd.c