summaryrefslogtreecommitdiff
path: root/board/reef/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/reef/board.c')
-rw-r--r--board/reef/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/reef/board.c b/board/reef/board.c
index 6df8b781ef..d5cbe46099 100644
--- a/board/reef/board.c
+++ b/board/reef/board.c
@@ -283,10 +283,10 @@ const enum gpio_signal hibernate_wake_pins[] = {
const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);
-static int ps8751_tune_mux(const struct usb_mux *mux)
+static int ps8751_tune_mux(int port)
{
/* 0x98 sets lower EQ of DP port (4.5db) */
- tcpc_write(mux->port_addr, PS8XXX_REG_MUX_DP_EQ_CONFIGURATION, 0x98);
+ mux_write(port, PS8XXX_REG_MUX_DP_EQ_CONFIGURATION, 0x98);
return EC_SUCCESS;
}