summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:16:05 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 12:40:17 +0000
commit4b21a7d51fec2d3a6fdf0c71ecfc27b3c89a9d3b (patch)
tree42328132e03bfceaa5ca793e209f24d71183defb /baseboard
parent2ec1a3fcefc38cc14005ed518a46ab2150dc7c04 (diff)
downloadchrome-ec-4b21a7d51fec2d3a6fdf0c71ecfc27b3c89a9d3b.tar.gz
baseboard/intelrvp/ite_ec.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ib84307675577aacc93bf93da9f211d33b59412ee Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3727898 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/intelrvp/ite_ec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/baseboard/intelrvp/ite_ec.c b/baseboard/intelrvp/ite_ec.c
index bafddc5f9e..15ed50d92c 100644
--- a/baseboard/intelrvp/ite_ec.c
+++ b/baseboard/intelrvp/ite_ec.c
@@ -139,15 +139,15 @@ void board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled)
* enabling the VCONN on respective CC line
*/
gpio_set_level(tcpc_gpios[port].vconn.cc1_pin,
- !tcpc_gpios[port].vconn.pin_pol);
+ !tcpc_gpios[port].vconn.pin_pol);
gpio_set_level(tcpc_gpios[port].vconn.cc2_pin,
- !tcpc_gpios[port].vconn.pin_pol);
+ !tcpc_gpios[port].vconn.pin_pol);
if (enabled)
gpio_set_level((cc_pin != USBPD_CC_PIN_1) ?
- tcpc_gpios[port].vconn.cc2_pin :
- tcpc_gpios[port].vconn.cc1_pin,
- tcpc_gpios[port].vconn.pin_pol);
+ tcpc_gpios[port].vconn.cc2_pin :
+ tcpc_gpios[port].vconn.cc1_pin,
+ tcpc_gpios[port].vconn.pin_pol);
#endif
}
#endif