Re: [PATCH] bq27x00_battery: Fix flag reading for bq27742

2014-09-30 Thread Sebastian Reichel
Hi, On Tue, Sep 30, 2014 at 11:18:56AM -0700, Puthikorn Voravootivat wrote: > This patch fix the following issues. > - Flag for bq27742 is 2 bytes contracy to 1 byte for older hardware > - Don't read FLAG_CI as bq27742 does not have it > - Use Battery full capacity register as last measure

[PATCH] bq27x00_battery: Fix flag reading for bq27742

2014-09-30 Thread Puthikorn Voravootivat
This patch fix the following issues. - Flag for bq27742 is 2 bytes contracy to 1 byte for older hardware - Don't read FLAG_CI as bq27742 does not have it - Use Battery full capacity register as last measure discharge Signed-off-by: Puthikorn Voravootivat Reviewed-by: Benson Leung --- The

[PATCH] bq27x00_battery: Fix flag reading for bq27742

2014-09-30 Thread Puthikorn Voravootivat
This patch fix the following issues. - Flag for bq27742 is 2 bytes contracy to 1 byte for older hardware - Don't read FLAG_CI as bq27742 does not have it - Use Battery full capacity register as last measure discharge Signed-off-by: Puthikorn Voravootivat put...@chromium.org Reviewed-by: Benson

Re: [PATCH] bq27x00_battery: Fix flag reading for bq27742

2014-09-30 Thread Sebastian Reichel
Hi, On Tue, Sep 30, 2014 at 11:18:56AM -0700, Puthikorn Voravootivat wrote: This patch fix the following issues. - Flag for bq27742 is 2 bytes contracy to 1 byte for older hardware - Don't read FLAG_CI as bq27742 does not have it - Use Battery full capacity register as last measure discharge