usb: typec: tcpm: queue correct sop type in tcpm_queue_vdm_unlocked
authorRD Babiera <rdbabiera@google.com>
Tue, 23 Apr 2024 20:25:46 +0000 (20:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Apr 2024 17:43:47 +0000 (19:43 +0200)
commitedc5a009ee3bdc2161e2c3e782a37805617790a3
tree8186a24b9f80ad2cbec06b89cb9cf62f5b9e6c68
parentc78c3644b772e356ca452ae733a3c4de0fb11dc8
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: 7e7877c55eb1 ("usb: typec: tcpm: add alt mode enter/exit/vdm support for sop'")
Cc: stable@vger.kernel.org
Signed-off-by: RD Babiera <rdbabiera@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240423202546.3374218-2-rdbabiera@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpm.c