Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-16 Thread Anton Vorontsov
On Sat, Feb 09, 2013 at 12:02:15PM +0100, Pali Rohár wrote: > On Saturday 09 February 2013 02:57:18 Anton Vorontsov wrote: > > > > Hm. The documentation says tenth (1/10) degrees, and you even > > restate it in the commit message. But the subject, and your > > example seem to prove that you still

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-09 Thread Pali Rohár
On Saturday 09 February 2013 02:57:18 Anton Vorontsov wrote: > > Hm. The documentation says tenth (1/10) degrees, and you even > restate it in the commit message. But the subject, and your > example seem to prove that you still report it in 1/100 of > Celsius. > > Unless your phone was on fire du

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-08 Thread Anton Vorontsov
On Wed, Feb 06, 2013 at 06:56:34PM +0100, Pali Rohár wrote: [...] > > * All voltages, currents, charges, energies, time and > > temperatures in uV, * µA, µAh, µWh, seconds and tenths of > > degree Celsius unless otherwise * stated. It's driver's job [...] > bq27x00_battery reporting "POWER_SUPPLY_

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-06 Thread Pali Rohár
On Sunday 03 February 2013 21:05:57 Anton Vorontsov wrote: > On Sun, Feb 03, 2013 at 09:01:54PM +0100, Pali Rohár wrote: > > On Sunday 03 February 2013 04:44:51 Anton Vorontsov wrote: > > > On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: > > > > Reported temperature can be also negative

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-03 Thread Anton Vorontsov
On Sun, Feb 03, 2013 at 09:01:54PM +0100, Pali Rohár wrote: > On Sunday 03 February 2013 04:44:51 Anton Vorontsov wrote: > > On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: > > > Reported temperature can be also negative, so cache value in > > > non negative Kelvin degree. > > > > > >

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-03 Thread Pali Rohár
On Sunday 03 February 2013 04:44:51 Anton Vorontsov wrote: > On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: > > Reported temperature can be also negative, so cache value in > > non negative Kelvin degree. > > > > Signed-off-by: Pali Rohár > > --- > > Applied, thanks! Now I looked a

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-02 Thread Anton Vorontsov
On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: > Reported temperature can be also negative, so cache value in non negative > Kelvin degree. > > Signed-off-by: Pali Rohár > --- Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-02 Thread Pali Rohár
Reported temperature can be also negative, so cache value in non negative Kelvin degree. Signed-off-by: Pali Rohár --- drivers/power/bq27x00_battery.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery