]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
power: lc709203f: do not override initial RSOC value
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Tue, 25 Mar 2014 06:57:35 +0000 (12:27 +0530)
committerMrutyunjay Sawant <msawant@nvidia.com>
Wed, 26 Mar 2014 14:15:39 +0000 (07:15 -0700)
commit1fd81a388e55ddd4891beb56781fcff492e5523e
treecde6db6b72c96c129bcdd228ecaa3922446dd639
parent3dbe709c3c296548dd62cebe8551277ab237909c
power: lc709203f: do not override initial RSOC value

do not program lc709203 register 0x07 if initial
rsoc value provided in dts file is 0.
fuel gauge will be automatically initialzed 10 ms after
battery connected to the device and will track the RSOC
thereafter.

Bug 1470891

Change-Id: I79c9860c03416bd3287d8011493b351fc006b925
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/386100
(cherry picked from commit 61134f2569db43eef67203ae215dd7a790d60981)
Reviewed-on: http://git-master/r/386374
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/power/lc709203f_battery.c