diff options
| author | 2021-05-17 12:21:10 -0700 | |
|---|---|---|
| committer | 2021-05-21 20:05:56 +0200 | |
| commit | dea6f87e60d193b2b3e21f9c6d657e53617369da (patch) | |
| tree | bdedc7d253e70b257799b2b7433e9913540bf9dd /tools/perf/scripts/python/stackcollapse.py | |
| parent | usb: typec: tcpm: Fix up PR_SWAP when vsafe0v is signalled (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 <linux@roeck-us.net>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://lore.kernel.org/r/20210517192112.40934-2-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
