summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2015-05-19 19:54:41 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:58:20 -0700
commitdf2968af9f8c4d3f784bd7a66a1adcfe9c9f743c (patch)
tree9be22a1f91bad06918ed71dade6039dc8f6a4bd2 /include/uapi/linux/errqueue.h
parent3cbb89d1a4ffe1a4449090ca769f2ce575e9d2c1 (diff)
usb: u_data_bridge: Improve USB RX (read) functionality
This change handles below cases and improves performance: 1. If USB OUT request buffer is bigger than provided read buffer from application, then data equal to read buffer is copied. This results into data loss. Handle this case by making sure that whole USB OUT request buffer is provided to application across multiple read() call. 2. If read buffer size is greater than available data as part of one USB OUT request buffer, then copy data from other USB OUT request buffers until read buffer is filled completely. Change-Id: If2756ed82bd6e95650ebcc38c4042bfb593f8a2b Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions