Skip to content

Commit edc5a00

Browse files
RD Babieragregkh
authored andcommitted
usb: typec: tcpm: queue correct sop type in tcpm_queue_vdm_unlocked
tcpm_queue_vdm_unlocked queues VDMs over SOP regardless of input parameter tx_sop_type. Fix tcpm_queue_vdm() call. Fixes: 7e7877c ("usb: typec: tcpm: add alt mode enter/exit/vdm support for sop'") Cc: [email protected] Signed-off-by: RD Babiera <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c78c364 commit edc5a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/typec/tcpm/tcpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ static void tcpm_queue_vdm_unlocked(struct tcpm_port *port, const u32 header,
15651565
const u32 *data, int cnt, enum tcpm_transmit_type tx_sop_type)
15661566
{
15671567
mutex_lock(&port->lock);
1568-
tcpm_queue_vdm(port, header, data, cnt, TCPC_TX_SOP);
1568+
tcpm_queue_vdm(port, header, data, cnt, tx_sop_type);
15691569
mutex_unlock(&port->lock);
15701570
}
15711571

0 commit comments

Comments
 (0)