diff options
Diffstat (limited to 'common/typec_control.c')
-rw-r--r-- | common/typec_control.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/typec_control.c b/common/typec_control.c index 1fea258389..94070d47df 100644 --- a/common/typec_control.c +++ b/common/typec_control.c @@ -1,4 +1,4 @@ -/* Copyright 2022 The Chromium OS Authors. All rights reserved. +/* Copyright 2022 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -28,7 +28,7 @@ void typec_set_sbu(int port, bool enable) } __overridable void typec_set_source_current_limit(int port, - enum tcpc_rp_value rp) + enum tcpc_rp_value rp) { if (IS_ENABLED(CONFIG_USBC_PPC)) ppc_set_vbus_source_current_limit(port, rp); @@ -45,8 +45,8 @@ void typec_set_vconn(int port, bool enable) * the PD state machine detects a disconnection on the CC lines, we will * reset our OC event counter. */ - if (IS_ENABLED(CONFIG_USBC_OCP) && - enable && usbc_ocp_is_port_latched_off(port)) + if (IS_ENABLED(CONFIG_USBC_OCP) && enable && + usbc_ocp_is_port_latched_off(port)) return; /* |