Home
last modified time | relevance | path

Searched hist:"46 c1d49330fe21b3f9d2f7577ee4268248e7b666" (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/host/
H A Dxhci.c46c1d49330fe21b3f9d2f7577ee4268248e7b666 Wed Jul 19 13:51:11 UTC 2017 Bin Meng <bmeng.cn@gmail.com> usb: hub: Add a new API to test if a hub device is root hub

Sometimes we need know if a given hub device is root hub or not.
Add a new API to test this. This removes the xHCI driver's own
version is_root_hub() and change to use the new API.

While we are here, remove the unused/commented out get_usb_device()
in the xHCI driver too.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
/rk3399_rockchip-uboot/common/
H A Dusb_hub.c46c1d49330fe21b3f9d2f7577ee4268248e7b666 Wed Jul 19 13:51:11 UTC 2017 Bin Meng <bmeng.cn@gmail.com> usb: hub: Add a new API to test if a hub device is root hub

Sometimes we need know if a given hub device is root hub or not.
Add a new API to test this. This removes the xHCI driver's own
version is_root_hub() and change to use the new API.

While we are here, remove the unused/commented out get_usb_device()
in the xHCI driver too.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
/rk3399_rockchip-uboot/include/
H A Dusb.h46c1d49330fe21b3f9d2f7577ee4268248e7b666 Wed Jul 19 13:51:11 UTC 2017 Bin Meng <bmeng.cn@gmail.com> usb: hub: Add a new API to test if a hub device is root hub

Sometimes we need know if a given hub device is root hub or not.
Add a new API to test this. This removes the xHCI driver's own
version is_root_hub() and change to use the new API.

While we are here, remove the unused/commented out get_usb_device()
in the xHCI driver too.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>