diff options
author | Ting Shen <phoenixshen@google.com> | 2020-10-28 12:22:17 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-28 09:50:58 +0000 |
commit | c9826aad176be771412d453f37bbc55714afc2b1 (patch) | |
tree | 6209c4a97c4a09e387b2e9b1ba83f898553c55cf /board/asurada | |
parent | 50d3642d81a7d4ef9aa249d88843c29e52cf3aa3 (diff) | |
download | chrome-ec-c9826aad176be771412d453f37bbc55714afc2b1.tar.gz |
ps874x: fix incorrect parameter name in ps874x_tune_usb_eq
First parameter was incorrectly named 'i2c_addr' in header file,
but it's actually a 'port' in the implementation.
Change the parameter to a usb_mux* to avoid confusion, and also
align with other functions.
BUG=b:170703310
TEST=make
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ic355b5fd03536423af841be731a93c818d87eb0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2504973
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/asurada')
-rw-r--r-- | board/asurada/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/asurada/board.c b/board/asurada/board.c index 664b4a8df4..f046734b2c 100644 --- a/board/asurada/board.c +++ b/board/asurada/board.c @@ -414,7 +414,7 @@ const struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { void board_usb_mux_init(void) { if (board_get_sub_board() == SUB_BOARD_TYPEC) - ps8743_tune_usb_eq(PS8743_I2C_ADDR0_FLAG, + ps8743_tune_usb_eq(&usb_muxes[1], PS8743_USB_EQ_TX_12_8_DB, PS8743_USB_EQ_RX_12_8_DB); } |