power: smb5-lib: skip DPDM regulator request during pr_swap
During pr_swap from source to sink charger hardware will receive
a plug-in event and request for DPDM regulator, this will reset
USB's state machine. Fix this by skipping DPDM request during
pr_swap and add a delayed work to detect actual cable removal
during PR_SWAP.
Change-Id: I44d558d73e94709e9ac09f3e8817037d5c4a8670
Signed-off-by:
Ashay Jaiswal <ashayj@codeaurora.org>
Loading
Please register or sign in to comment