diff options
author | Badhri Jagan Sridharan <[email protected]> | 2021-05-17 12:21:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-21 20:05:56 +0200 |
commit | dea6f87e60d193b2b3e21f9c6d657e53617369da (patch) | |
tree | bdedc7d253e70b257799b2b7433e9913540bf9dd /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d112efbe6dbf7d4c482e2a3f381fa315aabfe63b (diff) |
usb: typec: tcpm: Refactor logic to enable/disable auto vbus dicharge
The logic to enable vbus auto discharge on disconnect is used in
more than one place. Since this is repetitive code, moving this into
its own method.
Fixes: f321a02caebd ("usb: typec: tcpm: Implement enabling Auto Discharge disconnect support")
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Badhri Jagan Sridharan <[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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions