summaryrefslogtreecommitdiff
path: root/board/taeko/usbc_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/taeko/usbc_config.c')
-rw-r--r--board/taeko/usbc_config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/taeko/usbc_config.c b/board/taeko/usbc_config.c
index 993b10c99f..6219b8cd56 100644
--- a/board/taeko/usbc_config.c
+++ b/board/taeko/usbc_config.c
@@ -135,7 +135,7 @@ struct ioexpander_config_t ioex_config[] = {
.i2c_host_port = I2C_PORT_USB_C0_TCPC,
.i2c_addr_flags = NCT38XX_I2C_ADDR1_1_FLAGS,
.drv = &nct38xx_ioexpander_drv,
- .flags = IOEX_FLAGS_DISABLED,
+ .flags = IOEX_FLAGS_DEFAULT_INIT_DISABLED,
},
};
BUILD_ASSERT(ARRAY_SIZE(ioex_config) == CONFIG_IO_EXPANDER_PORT_COUNT);
@@ -187,7 +187,6 @@ static void board_tcpc_init(void)
* C0/C2 TCPC, so they must be set up after the TCPC has
* been taken out of reset.
*/
- ioex_config[0].flags &= ~IOEX_FLAGS_DISABLED;
ioex_init(0);
}