diff options
author | Hans de Goede <[email protected]> | 2020-07-24 19:47:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-29 14:11:05 +0200 |
commit | 95b4d51c96a87cd760c2a4f27fb28a59a27b6368 (patch) | |
tree | 5ddf2077836506f2b635dd79b16a0f17935d0a2f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8afe9a3548f9d1805dcea6d97978f2179c8403a3 (diff) |
usb: typec: tcpm: Refactor tcpm_handle_vdm_request
Refactor tcpm_handle_vdm_request and its tcpm_pd_svdm helper function so
that reporting the results of the vdm to the altmode-driver is separated
out into a clear separate step inside tcpm_handle_vdm_request, instead
of being scattered over various places inside the tcpm_pd_svdm helper.
This is a preparation patch for fixing an AB BA lock inversion between the
tcpm code and some altmode drivers.
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions