diff options
author | Marc Zyngier <maz@kernel.org> | 2023-05-24 15:42:38 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-05-24 15:42:38 +0100 |
commit | 5d014c3df4241337ac56fc6501876c3c52e4877a (patch) | |
tree | 682c4c931695d7a4a7099762876b8b90dff6cbd8 | |
parent | afe90a7d89f4ece38f65c097e90d5f8f5acf17b1 (diff) | |
download | cs-sw-5d014c3df4241337ac56fc6501876c3c52e4877a.tar.gz |
Force VCONN off before setting up connection
Signed-off-by: Marc Zyngier <maz@kernel.org>
-rw-r--r-- | vdmtool.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -95,6 +95,9 @@ static void evt_dfpconnect(struct vdm_context *cxt) cprintf(cxt, "Nope.\n"); return; } + + fusb302_tcpm_set_vconn(PORT(cxt), 0); + fusb302_pd_reset(PORT(cxt)); fusb302_tcpm_set_msg_header(PORT(cxt), 1, 1); // Source if (cc1 > cc2) { |