EM/Charger: Fix the VBUS disconnect after 30s issue on CLV
authorPandey Raj <raj.pandey@intel.com>
Mon, 21 May 2012 11:45:43 +0000 (17:15 +0530)
committerbuildbot <buildbot@intel.com>
Wed, 30 May 2012 16:09:11 +0000 (09:09 -0700)
commitceaafc02e99e2b0e3189e0802f1713ba4df73d37
treebac231a03c1dccf249f195468133133d1306887d
parentfccbbbeccc09620e9a866eb52b1d7ef85675394e
EM/Charger: Fix the VBUS disconnect after 30s issue on CLV

BZ: 34940

This patch fixes the VBUS disconnect issue on CLV platform by disabling the
WD timer as soon as host mode cable is inserted to the platform. This issue
happens only if the user connects the host mode cable before the charger cable.

Change-Id: I26c97af48bf366a2132f80e6cebc8acb92c9a480
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/49524
Reviewed-by: Hegde Kota, VinayX <vinayx.hegde.kota@intel.com>
Reviewed-by: Wu, Hao <hao.wu@intel.com>
Reviewed-by: Tc, Jenny <jenny.tc@intel.com>
Reviewed-by: Prasad, Lakshmi G <lakshmi.g.prasad@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/power/bq24192_charger.c