diff options
Diffstat (limited to 'driver/charger/rt946x.c')
-rw-r--r-- | driver/charger/rt946x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/charger/rt946x.c b/driver/charger/rt946x.c index d7dbcc26ef..5cf558b033 100644 --- a/driver/charger/rt946x.c +++ b/driver/charger/rt946x.c @@ -760,6 +760,10 @@ int rt946x_enable_charger_boost(int en) (RT946X_REG_CHGCTRL2, RT946X_MASK_CHG_EN); } +/* + * rt946x reports VBUS ready after VBUS is up for ~500ms. + * Check if this works for the use case before calling this function. + */ int rt946x_is_vbus_ready(void) { int val = 0; |