commit | ca0664e9308067fe38d9b0e475475e9cc21954b2 | [log] [tgz] |
---|---|---|
author | Harry Yang <harryy@codeaurora.org> | Fri Aug 18 11:40:06 2017 -0700 |
committer | Harry Yang <harryy@codeaurora.org> | Mon Aug 21 11:34:52 2017 -0700 |
tree | ff5fd198588a48fedc0ae0eb035a7967087a51d4 | |
parent | 2f89b76127d2d9f5a098280de21e0a2478617479 [diff] |
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: Harry Yang <harryy@codeaurora.org>