Home
last modified time | relevance | path

Searched hist:"00 e9d69629eb026a2ccc9e2526e365b1e796a14d" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_dfu.c00e9d69629eb026a2ccc9e2526e365b1e796a14d Fri Feb 10 16:32:31 UTC 2017 Felipe Balbi <felipe.balbi@linux.intel.com> 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>