diff options
| author | Nicholas Troast <ntroast@codeaurora.org> | 2017-03-14 09:20:55 -0700 |
|---|---|---|
| committer | Nicholas Troast <ntroast@codeaurora.org> | 2017-03-16 10:00:38 -0700 |
| commit | e7f294565ffb1b9f4b1c4af03e672ed68610ad2d (patch) | |
| tree | e46d96b9ab04941710c313bfc3eb3f27ba39dec6 /net/unix/af_unix.c | |
| parent | c3e73c5a50ddd8a320b330d5751d0cab977246c2 (diff) | |
power: smb-lib: prevent unnecessary APSD re-runs
When APSD_START_ON_CC_BIT is set both VBUS and CC must be attached
before APSD runs. This eliminates all issues related to slow plugin.
Unfortunately this means that if CC is re-asserted anytime after APSD
finishes, then it will rerun again.
Fix this by disabling APSD_START_ON_CC_BIT right after CC is asserted,
and enable it after USB removal.
Change-Id: I27d3727647635b78392b925f0881dc3a4ef41623
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
