]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: Move determination of TT hub address/port into separate function
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 22 Dec 2015 00:21:03 +0000 (01:21 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 31 Dec 2015 15:16:29 +0000 (16:16 +0100)
commitfaa7db24a4b6c1b645dec312a16574442d5adde2
tree7e555277a389ebc566622c0a9910d0513b261b57
parent5253aded464f99734698bffd33c662f1ac071fd0
usb: Move determination of TT hub address/port into separate function

Start split and complete split tokens need the hub address and the
downstream port of the first HS hub (device view).

The core of the function was duplicated in both host/ehci_hcd and
musb-new/usb-compat.h.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
common/usb.c
drivers/usb/host/ehci-hcd.c
drivers/usb/musb-new/musb_host.c
drivers/usb/musb-new/usb-compat.h
include/usb.h