diff options
author | Chunfeng Yun <[email protected]> | 2019-08-29 17:22:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-09-03 18:00:43 +0200 |
commit | 6fadd72943b80ff5bef175aacc2458c8a9ee3dbc (patch) | |
tree | 19b5753f2de321129aa05c3c5e8ea5eb6a563a70 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | c5c0283a9db1c7ba5881f956a1faf2ebc3dfe70e (diff) |
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 <[email protected]>
Signed-off-by: Chunfeng Yun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions