summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2017-05-24 18:41:53 -0700
committerJack Pham <jackp@codeaurora.org>2017-05-31 10:42:56 -0700
commitae024ed4f72fc3b2374c4180860630b644197d44 (patch)
tree504cd03b63eb8e77486606f81d25b8b2f16f5be9 /net/unix/af_unix.c
parent33a94f46e5ab4eb83334bdf69bfc17155b49da7e (diff)
usb: pd: Rerun usbpd_sm if RX queue is not empty
Upon receiving a PD message the state machine is queued to act on it. However, if another message is received quickly before usbpd_sm is scheduled, it will only process the first message. Add a check if the RX queue is not empty in order to drain the messages properly. Change-Id: Ie9e079a51a5740024c9a1be5ba27b3edacf9b2df Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions