Re: [PATCH 33/57] power: u8500_charger: Delay for USB enumeration

2012-09-28 Thread Anton Vorontsov
On Fri, Sep 28, 2012 at 10:56:50AM -0600, Mathieu Poirier wrote: [...] > >> + struct delayed_work usb_state_changed_work; > >>struct delayed_work attach_work; > >>struct delayed_work ac_charger_attached_work; > >>struct delayed_work usb_charger_attached_work; > >> + struct delayed_wor

Re: [PATCH 33/57] power: u8500_charger: Delay for USB enumeration

2012-09-28 Thread Mathieu Poirier
On 12-09-27 01:42 AM, Anton Vorontsov wrote: > On Tue, Sep 25, 2012 at 10:12:30AM -0600, mathieu.poir...@linaro.org wrote: >> From: Paer-Olof Haakansson >> >> If charging is started before USB enumeration of an >> Accessory Charger Adapter has finished, the AB8500 will >> generate a VBUS_ERROR. Th

Re: [PATCH 33/57] power: u8500_charger: Delay for USB enumeration

2012-09-27 Thread Anton Vorontsov
On Tue, Sep 25, 2012 at 10:12:30AM -0600, mathieu.poir...@linaro.org wrote: > From: Paer-Olof Haakansson > > 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 enu

[PATCH 33/57] power: u8500_charger: Delay for USB enumeration

2012-09-25 Thread mathieu . poirier
From: Paer-Olof Haakansson 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