diff options
author | Michal Nazarewicz <[email protected]> | 2016-05-21 20:47:35 +0200 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2016-06-21 11:11:31 +0300 |
commit | 9353afbbfa7b10779a1aa108fcc23e32fd625990 (patch) | |
tree | bcb04f4d191a444798af2e2847e3096e8a31ce4e /drivers/fpga/fpga-mgr.c | |
parent | c662a31be755f5e315945e2c802c335eb8baddb8 (diff) |
usb: gadget: f_fs: buffer data from ‘oversized’ OUT requests
f_fs rounds up read(2) requests to a multiple of a max packet size
which means that host may provide more data than user has space for.
So far, the excess data has been silently ignored.
This introduces a buffer for a tail of such requests so that they are
returned on next read instead of being ignored.
Signed-off-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions