diff options
Diffstat (limited to 'board/brask/usbc_config.c')
-rw-r--r-- | board/brask/usbc_config.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/brask/usbc_config.c b/board/brask/usbc_config.c index bd61f7ec1c..563034fcb4 100644 --- a/board/brask/usbc_config.c +++ b/board/brask/usbc_config.c @@ -169,13 +169,13 @@ struct ioexpander_config_t ioex_config[] = { .i2c_host_port = I2C_PORT_USB_C0_C2_TCPC, .i2c_addr_flags = NCT38XX_I2C_ADDR1_1_FLAGS, .drv = &nct38xx_ioexpander_drv, - .flags = IOEX_FLAGS_DISABLED, + .flags = IOEX_FLAGS_DEFAULT_INIT_DISABLED, }, [IOEX_C2_NCT38XX] = { .i2c_host_port = I2C_PORT_USB_C0_C2_TCPC, .i2c_addr_flags = NCT38XX_I2C_ADDR2_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); @@ -260,7 +260,6 @@ void board_reset_pd_mcu(void) static void enable_ioex(int ioex) { - ioex_config[ioex].flags &= ~IOEX_FLAGS_DISABLED; ioex_init(ioex); } |