summaryrefslogtreecommitdiff
path: root/cmd/spibootldr.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-02-10 19:32:31 +0300
committerMarek Vasut <marex@denx.de>2017-02-26 13:24:30 +0100
commit00e9d69629eb026a2ccc9e2526e365b1e796a14d (patch)
tree6e860828fe5307e20c0efd08db281f2fe53fb1de /cmd/spibootldr.c
parentd428776657154f57b89913ffb0c5a23cb5b595f7 (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 'cmd/spibootldr.c')
0 files changed, 0 insertions, 0 deletions