summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2022-01-13 15:04:45 +0800
committerCommit Bot <commit-bot@chromium.org>2022-01-14 08:29:32 +0000
commitc7a7ee333342a1a5a94309a1ee966282ef83ed13 (patch)
tree33945b763d7d36ce846c6b281fae37f621eb84d7
parent2d2221c9e42aca4f3f3560eeb32c423a5f0e2e77 (diff)
downloadchrome-ec-c7a7ee333342a1a5a94309a1ee966282ef83ed13.tar.gz
zephyr: corsola: drop overridden svdm_exit_dp_mode
The function is exactly the same as the proto, so drop it. BUG=b:212326930 TEST=zmake BRANCH=none Change-Id: Iaf4171054d717a7da31fa245442c429a5e4ff313 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3384128 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com>
-rw-r--r--zephyr/projects/corsola/src/usb_pd_policy.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/zephyr/projects/corsola/src/usb_pd_policy.c b/zephyr/projects/corsola/src/usb_pd_policy.c
index 54322811a2..0331e90c1a 100644
--- a/zephyr/projects/corsola/src/usb_pd_policy.c
+++ b/zephyr/projects/corsola/src/usb_pd_policy.c
@@ -136,17 +136,3 @@ __override int svdm_dp_attention(int port, uint32_t *payload)
/* ack */
return 1;
}
-
-__override void svdm_exit_dp_mode(int port)
-{
-#ifdef CONFIG_USB_PD_DP_HPD_GPIO
- svdm_set_hpd_gpio(port, 0);
-#endif /* CONFIG_USB_PD_DP_HPD_GPIO */
- usb_mux_hpd_update(port, USB_PD_MUX_HPD_LVL_DEASSERTED |
- USB_PD_MUX_HPD_IRQ_DEASSERTED);
-
-#ifdef USB_PD_PORT_TCPC_MST
- if (port == USB_PD_PORT_TCPC_MST)
- baseboard_mst_enable_control(port, 0);
-#endif
-}