diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-02-10 19:32:31 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-02-26 13:24:30 +0100 |
commit | 00e9d69629eb026a2ccc9e2526e365b1e796a14d (patch) | |
tree | 6e860828fe5307e20c0efd08db281f2fe53fb1de /Kbuild | |
parent | d428776657154f57b89913ffb0c5a23cb5b595f7 (diff) |
usb: gadget: f_dfu: write req->actual bytes
If last packet is short, we shouldn't write req->length bytes to
non-volatile media, we should write only what's available to us, which
is held in req->actual.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions