diff options
| author | Nicholas Troast <ntroast@codeaurora.org> | 2017-03-14 08:20:31 -0700 |
|---|---|---|
| committer | Nicholas Troast <ntroast@codeaurora.org> | 2017-03-16 10:00:40 -0700 |
| commit | 11a54fcfa4688a7e823cc04fb4b991cab595aa04 (patch) | |
| tree | 1815d1db158a9329655d36f2cfc427211215ab2c /net/unix/af_unix.c | |
| parent | fa12cb53c06784e285874d2c746d7fe3e2d758c8 (diff) | |
power: smb-lib: always assume legacy cable to prevent CC OV
While in DRP the legacy cable detection may fail. Legacy cable
detection is essential to preventing CC OV damage.
Always assume a legacy cable since the legacy cable detection will fail
in some cases. As a side effect, non-legacy HVDCP adapters will stay at
5V if they have a 10k ohm Rp.
To realize this:
- Remove disallowing PD based on the legacy bit being set. That bit set
or unset is not reliable and it is safe to try PD.
- Remove the workaround which tries to fix legacy cable being set
incorrectly at boot. That bit set or unset is not reliable.
Change-Id: I37879866592f63906a7c688f51c309b4e2fee48d
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
