summaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-09-28 18:40:36 -0700
committerJack Pham <jackp@codeaurora.org>2016-10-14 17:51:45 -0700
commit3bf9e3840071d88b78f70a076da9bdd6c020c474 (patch)
treed08838c9edc14fa63c90066663ef619021bbc14f /lib/mpi/mpicoder.c
parent7ce154ad5da4291d9b668ad14d21fe6b08d1f039 (diff)
usb: pd: Simplify VDM tx handling
VDMs, especially structured ones, are almost always handled as requests and responses. Hence it does not make sense to allow more than one outgoing VDM at a time, so get rid of the vdm_tx_queue list and simplify it to a single-issued packet. Because port partners can only have one VDM request/response in flight, also handle the case when a new structured request is received before the previous response has been sent. In that case we simply discard the queued message as it's now invalid. Change-Id: I144f8158dbf8be0babf5516b01d084fd053413c3 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions