power: qpnp-smbcharger: add voting logic for enabling/disabling HVDCP
HVDCP can be enabled from multiple location in the charger driver. Update HVDCP enable/disable logic to use voting mechanism. Also optimize shutdown() hook and Fix ICL voting on USB removal, update usb status after APSD re-reun, release hvdcp wakelock when usb removed and enable parallel charger only if charger is present. CRs-Fixed: 1050520 Change-Id: Ifa42d0d13a10ce803d5ce19e59659d56d0c92f43 Signed-off-by:Ashay Jaiswal <ashayj@codeaurora.org> Signed-off-by:
Vamshi Krishna B V <vbv@codeaurora.org>
Loading
Please register or sign in to comment