Re: [PATCH] bq27x00_battery: fix bugs introduced with BQ27425 support

2013-01-05 Thread Anton Vorontsov
On Sun, Dec 02, 2012 at 08:34:21PM +1100, NeilBrown wrote: > commit a66f59ba2e994bf70274ef0513e24e0e7ae20c63 > bq27x00_battery: Add support for BQ27425 chip > > introduced 2 bug. > > 1/ 'chip' was set to BQ27425 unconditionally - breaking support for >other devices. > 2/ BQ27425 does not

[PATCH] bq27x00_battery: fix bugs introduced with BQ27425 support

2012-12-02 Thread NeilBrown
commit a66f59ba2e994bf70274ef0513e24e0e7ae20c63 bq27x00_battery: Add support for BQ27425 chip introduced 2 bug. 1/ 'chip' was set to BQ27425 unconditionally - breaking support for other devices. 2/ BQ27425 does not support cycle count, how the code still tries to get the cycle count f