+325
−107
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If charging is started before USB enumeration of an Accessory Charger Adapter has finished, the AB8500 will generate a VBUS_ERROR. This in turn results in timeouts and delays the enumeration with around 15 seconds. This patch delays the charging and then ramps currents slowly to avoid VBUS errors. The delay allows the enumeration to have finished before charging is turned on. Signed-off-by:Martin Sjoblom <martin.w.sjoblom@stericsson.com> Signed-off-by:
Lee Jones <lee.jones@linaro.org> Reviewed-by:
Jonas ABERG <jonas.aberg@stericsson.com> Tested-by:
Jonas ABERG <jonas.aberg@stericsson.com>
File changed.
Preview size limit exceeded, changes collapsed.