power: qpnp-smbcharger: update SMBCHG restart workaround

The driver should set the hvdcp detection ignore flag while
re-running apsd, which it doesn't do right now. Not ignoring
the interrupts causes restore_from_hvdcp to run interfering
with the insertion step. Set the ignore flag before doing any of
it. Ignoring interrupts will not schedule the hvdcp_det work, do
that explicitly.

CRs-Fixed: 1034364
Change-Id: Ia2852fb310f660f47eecaf20f7dc8c42067fa500
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Vamshi Krishna B V <vbv@codeaurora.org>
1 file changed