]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
power: battery-gauge: remove mutex lock while reading current limit
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Tue, 30 Jun 2015 06:53:13 +0000 (12:23 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 13 Jul 2015 21:41:07 +0000 (14:41 -0700)
commitb2f497d0b677c97f5b8027d4a56f9cac130e41cd
tree8777e8e75fe52f0074d9910eb504da5680158f6d
parente8ecff44b9412c54d36818d2491eb510aabddc91
power: battery-gauge: remove mutex lock while reading current limit

Removing mutex lock while reading input current limit.
mutex lock cuasing dead lock situation in suspend resume test.
while reading input current limit, mutex lock is not required
as no parameter is updated in this api.

Bug 200118347

Change-Id: I1db7adbe545eabfbfa4172d42b13571669ef62c7
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/763994
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/power/battery-charger-gauge-comm.c