smb-lib: fix unknown APSD result after CC2 workaround
If APSD is triggered while APSD is disabled the APSD_RESULT_STATUS
register will be reset. APSD will trigger whenever both VBUS and CC
have been debounced. This includes when VBUS is stable and CC is
re-asserted.
This is an issue particularly when the CC2 workaround re-asserts CC
when PD performs a hard reset since APSD will be disabled.
Fix this by configuring APSD to trigger only on VBUS before CC is
re-asserted by the CC2 workaround.
Change-Id: I507646faaab7aafeedb4104ad0ad5c32970270a6
Signed-off-by:
Nicholas Troast <ntroast@codeaurora.org>
Loading
Please register or sign in to comment