power: max77660-charger-extcon: Clear top level charging bit
authorDarbha Sriharsha <dsriharsha@nvidia.com>
Fri, 14 Jun 2013 10:47:47 +0000 (15:47 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:27:40 +0000 (13:27 -0700)
commit30c19a7e55cc762b7cba5b86d9f342588deb2a05
tree4e0bc47b4cf95eb335bd3996ab931031239b637f
parent7d87ae315cdf051f7a7f81934fc0fd57871d4028
power: max77660-charger-extcon: Clear top level charging bit

Correct the error where the bit to enable charging from
top level is being set instead of being cleared while
disabling charging

Change-Id: I20625646a143e6ceec885e564cb5de55170deccb
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/238995
(Cherrypicked commit 641a0036dcfa9239dddc06fd1bbef423758c9589)
Reviewed-on: http://git-master/r/241974
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/power/max77660-charger-extcon.c