reset I2C_WAKEUP_EN bit with Clock reset

pull/11888/head
fred.li 2019-06-11 10:50:06 +08:00
parent ee2f7ce6bb
commit 08ef03492f
1 changed files with 2 additions and 0 deletions

View File

@ -233,6 +233,8 @@ void rda_ccfg_ckrst(void)
/* Config BUS clock */
val &= ~(0x01U << 9);
val |= (0x00U << 9); /* 1'b0:40M, 1'b1:80M */
val |= (0x01U); /* clear i2c_wakeup_en */
wr_rf_usb_reg(0xA4, val, 0);
}