Re: [PATCH v4] power: bq24735-charger: Request status GPIO with initial input setup

2016-09-05 Thread Paul Kocialkowski
Hi, Le lundi 05 septembre 2016 à 13:08 +0200, Sebastian Reichel a écrit : > Hi Paul, > > On Sat, Sep 03, 2016 at 12:09:53AM +0200, Paul Kocialkowski wrote: > > > > This requests the status GPIO with initial input setup. it is required > > to read the GPIO status at probe time and thus correctly

Re: [PATCH v4] power: bq24735-charger: Request status GPIO with initial input setup

2016-09-05 Thread Paul Kocialkowski
Hi, Le lundi 05 septembre 2016 à 13:08 +0200, Sebastian Reichel a écrit : > Hi Paul, > > On Sat, Sep 03, 2016 at 12:09:53AM +0200, Paul Kocialkowski wrote: > > > > This requests the status GPIO with initial input setup. it is required > > to read the GPIO status at probe time and thus correctly

Re: [PATCH v4] power: bq24735-charger: Request status GPIO with initial input setup

2016-09-05 Thread Sebastian Reichel
Hi Paul, On Sat, Sep 03, 2016 at 12:09:53AM +0200, Paul Kocialkowski wrote: > This requests the status GPIO with initial input setup. it is required > to read the GPIO status at probe time and thus correctly avoid sending > i2c messages when AC is not plugged. > > When requesting the GPIO

Re: [PATCH v4] power: bq24735-charger: Request status GPIO with initial input setup

2016-09-05 Thread Sebastian Reichel
Hi Paul, On Sat, Sep 03, 2016 at 12:09:53AM +0200, Paul Kocialkowski wrote: > This requests the status GPIO with initial input setup. it is required > to read the GPIO status at probe time and thus correctly avoid sending > i2c messages when AC is not plugged. > > When requesting the GPIO

[PATCH v4] power: bq24735-charger: Request status GPIO with initial input setup

2016-09-02 Thread Paul Kocialkowski
This requests the status GPIO with initial input setup. it is required to read the GPIO status at probe time and thus correctly avoid sending i2c messages when AC is not plugged. When requesting the GPIO without initial input setup, it always reads 0 which causes probe to fail as it assumes the

[PATCH v4] power: bq24735-charger: Request status GPIO with initial input setup

2016-09-02 Thread Paul Kocialkowski
This requests the status GPIO with initial input setup. it is required to read the GPIO status at probe time and thus correctly avoid sending i2c messages when AC is not plugged. When requesting the GPIO without initial input setup, it always reads 0 which causes probe to fail as it assumes the