summaryrefslogtreecommitdiffstats
path: root/include/sound/seq_device.h
diff options
context:
space:
mode:
authorRD Babiera <rdbabiera@google.com>2024-01-08 19:16:19 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-27 17:38:25 -0800
commit6bd181ba60e198fef6f750b543832f161fbd9f39 (patch)
tree4d54003c4c88cb8a4796926788959230650d1d5d /include/sound/seq_device.h
parente03f6fef5ea885f80dc6c7339a7f8aea1b0a609f (diff)
downloadlinux-stable-6bd181ba60e198fef6f750b543832f161fbd9f39.tar.gz
linux-stable-6bd181ba60e198fef6f750b543832f161fbd9f39.tar.bz2
linux-stable-6bd181ba60e198fef6f750b543832f161fbd9f39.zip
usb: typec: tcpm: add control message support to sop'
Add tx_sop_type to tcpm_pd_send_control and rx_sop_type to tcpm_pd_ctrl_request. TCPC_TX_SOP is added to all pd_send_control calls, but TCPC_TX_SOP_PRIME is added to pd_send_control for a SOFT_RESET message sent after a Vconn swap that makes the Port the Vconn source. Likewise, tcpm_pd_ctrl_request resets the proper protocol layer depending on rx_sop_type for SOFT_RESET. VCONN_SWAP_TURN_ON_VCONN now moves to a new state, VCONN_SWAP_SEND_SOFT_RESET. This state sends SOFT_RESET over SOP' before transitioning to the ready state if applicable. It transitions after PD_T_VCONN_STABLE, definied in pd.h as the time required for Vconn to be on before transmitting messages. Signed-off-by: RD Babiera <rdbabiera@google.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20240108191620.987785-20-rdbabiera@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/sound/seq_device.h')
0 files changed, 0 insertions, 0 deletions