summaryrefslogtreecommitdiff
path: root/board/brya/usbc_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/brya/usbc_config.c')
-rw-r--r--board/brya/usbc_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/brya/usbc_config.c b/board/brya/usbc_config.c
index d24143c40b..ddad81f7da 100644
--- a/board/brya/usbc_config.c
+++ b/board/brya/usbc_config.c
@@ -187,7 +187,7 @@ void config_usb_db_type(void)
CPRINTS("Configured USB DB type number is %d", db_type);
}
-__override int bb_retimer_power_handle(const struct usb_mux *me, int on_off)
+__override int bb_retimer_power_enable(const struct usb_mux *me, bool enable)
{
enum ioex_signal rst_signal;
@@ -207,7 +207,7 @@ __override int bb_retimer_power_handle(const struct usb_mux *me, int on_off)
* so we only need to sequence reset.
*/
- if (on_off) {
+ if (enable) {
/*
* Tpw, minimum time from VCC to RESET_N de-assertion is 100us.
* For boards that don't provide a load switch control, the