driver/tcpm/rt1715.c: Format with clang-format
BRANCH=none
TEST=none
static int rt1715_polarity[CONFIG_USB_PD_PORT_MAX_COUNT];
static bool rt1715_initialized[CONFIG_USB_PD_PORT_MAX_COUNT];
-
static int rt1715_enable_ext_messages(int port, int enable)
{
return tcpc_update8(port, RT1715_REG_VENDOR_5,
@@ -113,14 +112,14 @@ static inline int rt1715_init_cc_params(int port, int cc_level)
/* RXCC threshold : 0.55V */
en = RT1715_REG_BMCIO_RXDZEN_DISABLE;
- sel = RT1715_REG_BMCIO_RXDZSEL_OCCTRL_600MA
- | RT1715_REG_BMCIO_RXDZSEL_SEL;
+ sel = RT1715_REG_BMCIO_RXDZSEL_OCCTRL_600MA |
+ RT1715_REG_BMCIO_RXDZSEL_SEL;
} else {
/* RD threshold : 0.35V & RP threshold : 0.75V */
en = RT1715_REG_BMCIO_RXDZEN_ENABLE;
- sel = RT1715_REG_BMCIO_RXDZSEL_OCCTRL_600MA
- | RT1715_REG_BMCIO_RXDZSEL_SEL;
+ sel = RT1715_REG_BMCIO_RXDZSEL_OCCTRL_600MA |
+ RT1715_REG_BMCIO_RXDZSEL_SEL;
}
rv = tcpc_write(port, RT1715_REG_BMCIO_RXDZEN, en);
