Skip to content
Commit ca0664e9 authored by Harry Yang's avatar Harry Yang
Browse files

power: smblib: make OTG_VOTER suspend input only in OTG state



USB input is suspended in OTG mode. In current implementation,
OTG_VOTER votes to suspend input when the typec enters DFP
mode, which, however, may just be in DRP mode without sink
device attached.

Fix it by voting to suspend input only in DFP mode with USB
present.

CRs-Fixed: 2091095
Change-Id: I4c18a91af8161a6b681dc29489736167f2dd9d5c
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 2f89b761
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment