summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2017-06-06 22:30:47 -0700
committerJack Pham <jackp@codeaurora.org>2017-06-06 22:50:28 -0700
commit71c2e3fc4ffa5aa629f3afd9d971b2e1f521255f (patch)
tree3f97dad65292c0fc78c769edbdde61efc87bb2e4 /net/unix/af_unix.c
parent00adcfcbad43e8f68bed8c3f3df63b58f978137b (diff)
usb: pdphy: Prevent sending when message is just received
Prevent pd_phy_write() from sending a TX message if an RX message IRQ is being handled, or if the RX_TOKEN is set (indicating a message has just arrived) by returning -EBUSY to let the upper layer gracefully abort. This helps in cases (such as compliance testing) in which VDM messages are received very quickly after one another and the protocol layer needs to first handle the incoming message. Change-Id: I3e26d7ff062ff7f51b6c66ab8d078b05749f808a Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions