diff options
| author | Xu Yang <[email protected]> | 2022-10-09 23:53:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-10-23 14:34:52 +0200 |
| commit | e1b5d2bed67c60c30d01a89df32152d74cfc8e63 (patch) | |
| tree | d84d80fbaf13f52b69c19ae318c3aebc278696d3 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 32c6fefb291bf84c5a4dbc7d52b56a1605ed9aae (diff) | |
usb: chipidea: core: handle usb role switch in a common way
Currently, ci_usb_role_switch_set() may be called before system resume
stage when suspended. Worse yet, ci_hdrc device may stay at RPM_ACTIVE
state which will cause pm_runtime_get_sync() fail to resume the device.
In this case, role-switch may unable to complete transition process due
to not exit from lpm state or due to lack some means after system resume.
Same as ci_cable_notifier(), usb_role_switch could handle its events based
on ci_hdrc_cable mechanism.
Signed-off-by: Xu Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions