summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNicholas Troast <ntroast@codeaurora.org>2017-04-12 12:38:18 -0700
committerNicholas Troast <ntroast@codeaurora.org>2017-05-31 10:43:22 -0700
commit841a4551796ea64dced024e0c56ee01bac202271 (patch)
tree8c00deaa63eb5688d11125df1045a42a0415cbe7 /net/unix/af_unix.c
parenta5706c4fdac1a427fac7b30a49912a1d9d148cb9 (diff)
power: supply: qcom: use typec mode instead of debounce done
When the CC state change IRQ fires on USB removal the debounce done status may still be high, and the removal cleanup will not be called. Use the UFP/DFP status bits to determine whether the CC lines are present or not instead. While at it cache the CC state so it doesn't have to be derived everywhere it is needed. The status bits are already cached, so there should be no functional difference. Change-Id: Ifb89c78a032ae9d38fbc8c281518698941e131c2 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions