summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/herobrine_npcx9/src
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/herobrine/herobrine_npcx9/src')
-rw-r--r--zephyr/projects/herobrine/herobrine_npcx9/src/usb_pd_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/herobrine/herobrine_npcx9/src/usb_pd_policy.c b/zephyr/projects/herobrine/herobrine_npcx9/src/usb_pd_policy.c
index 87d47c32e2..c17ca0c565 100644
--- a/zephyr/projects/herobrine/herobrine_npcx9/src/usb_pd_policy.c
+++ b/zephyr/projects/herobrine/herobrine_npcx9/src/usb_pd_policy.c
@@ -91,7 +91,7 @@ int pd_snk_is_vbus_provided(int port)
#ifdef CONFIG_USB_PD_ALT_MODE_DFP
__override int svdm_dp_config(int port, uint32_t *payload)
{
- int opos = pd_alt_mode(port, TCPC_TX_SOP, USB_SID_DISPLAYPORT);
+ int opos = pd_alt_mode(port, TCPCI_MSG_SOP, USB_SID_DISPLAYPORT);
uint8_t pin_mode = get_dp_pin_mode(port);
if (!pin_mode)