summaryrefslogtreecommitdiff
path: root/board/asurada
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:21:08 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-28 01:33:13 +0000
commitc61888c116625041054c6f962676cc314c65313f (patch)
treedd58c25816b6404dafb95a5875b95cfdb7a5ba50 /board/asurada
parenteabf9ef659b45a744b32646f6b780c038b017ff5 (diff)
downloadchrome-ec-c61888c116625041054c6f962676cc314c65313f.tar.gz
board/asurada/usbc_config.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I57a8bffe91f18be5686509c40bf68730fe52a49f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728013 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/asurada')
-rw-r--r--board/asurada/usbc_config.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/board/asurada/usbc_config.c b/board/asurada/usbc_config.c
index 63552980c3..d826500911 100644
--- a/board/asurada/usbc_config.c
+++ b/board/asurada/usbc_config.c
@@ -17,16 +17,13 @@ __override int syv682x_board_is_syv682c(int port)
void board_usb_mux_init(void)
{
if (board_get_sub_board() == SUB_BOARD_TYPEC) {
- ps8743_tune_usb_eq(&usb_muxes[1],
- PS8743_USB_EQ_TX_12_8_DB,
+ ps8743_tune_usb_eq(&usb_muxes[1], PS8743_USB_EQ_TX_12_8_DB,
PS8743_USB_EQ_RX_12_8_DB);
- ps8743_write(&usb_muxes[1],
- PS8743_REG_HS_DET_THRESHOLD,
- PS8743_USB_HS_THRESH_NEG_10);
- ps8743_field_update(&usb_muxes[1],
- PS8743_REG_DCI_CONFIG_2,
- PS8743_AUTO_DCI_MODE_MASK,
- PS8743_AUTO_DCI_MODE_FORCE_USB);
+ ps8743_write(&usb_muxes[1], PS8743_REG_HS_DET_THRESHOLD,
+ PS8743_USB_HS_THRESH_NEG_10);
+ ps8743_field_update(&usb_muxes[1], PS8743_REG_DCI_CONFIG_2,
+ PS8743_AUTO_DCI_MODE_MASK,
+ PS8743_AUTO_DCI_MODE_FORCE_USB);
}
}
DECLARE_HOOK(HOOK_INIT, board_usb_mux_init, HOOK_PRIO_INIT_I2C + 1);