linux-stable/drivers/usb/roles
Chunfeng Yun 6fadd72943 usb: roles: get usb-role-switch from parent
when the USB host controller is the parent of the connector,
usually type-B, sometimes don't need the graph, so we should
check whether it's parent registers usb-role-switch or not
firstly, and get it if exists.

Suggested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1567070558-29417-9-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-03 18:00:43 +02:00
..
class.c usb: roles: get usb-role-switch from parent 2019-09-03 18:00:43 +02:00
intel-xhci-usb-role-switch.c usb: roles: intel: Enable static DRD mode for role switch 2019-09-03 15:56:36 +02:00
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00