diff options
author | RD Babiera <rdbabiera@google.com> | 2023-11-21 23:38:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-04 16:29:51 +0300 |
commit | db9e54709895241dda23f9347f619afb15291353 (patch) | |
tree | f4a7dec71cdfbe52cfbded8f0f37585ff2765d64 /include/linux/usb/tcpci.h | |
parent | 9f802703fde29011aa9003cb1c5a418623a944ca (diff) | |
download | linux-db9e54709895241dda23f9347f619afb15291353.tar.xz |
usb: typec: tcpm: add tcpm_port_error_recovery symbol
Add tcpm_port_error_recovery symbol and corresponding event that runs in
tcpm_pd_event handler to set the port to the ERROR_RECOVERY state. tcpci
drivers can use the symbol to reset the port when tcpc faults affect port
functionality.
Signed-off-by: RD Babiera <rdbabiera@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231121203845.170234-5-rdbabiera@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/tcpci.h')
0 files changed, 0 insertions, 0 deletions