diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2019-08-29 12:22:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-03 19:00:43 +0300 |
commit | 6fadd72943b80ff5bef175aacc2458c8a9ee3dbc (patch) | |
tree | 19b5753f2de321129aa05c3c5e8ea5eb6a563a70 /drivers/usb/common | |
parent | c5c0283a9db1c7ba5881f956a1faf2ebc3dfe70e (diff) | |
download | linux-6fadd72943b80ff5bef175aacc2458c8a9ee3dbc.tar.xz |
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>
Diffstat (limited to 'drivers/usb/common')
0 files changed, 0 insertions, 0 deletions