linux/drivers/usb/dwc3
Felipe Balbi e9ece5792f usb: dwc3: gadget: increment request->actual once
commit c7de573471 upstream.

When using SG lists, we would end up setting
request->actual to:

	num_mapped_sgs * (request->length - count)

Let's fix that up by incrementing request->actual
only once.

Reported-by: Brian E Rogers <brian.e.rogers@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2016-11-20 01:17:08 +00:00
..
core.c usb: dwc3: core: fix ordering for PHY suspend 2014-10-05 13:40:59 -07:00
core.h usb: dwc3: Fix assignment of EP transfer resources 2016-03-08 12:15:22 +00:00
debug.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c usb: dwc3: exynos: Fix deferred probing storm. 2016-08-22 22:38:11 +01:00
dwc3-keystone.c usb: dwc3: keystone: drop dma_mask configuration 2016-05-01 00:06:09 +02:00
dwc3-omap.c usb: dwc3: dwc3-omap: Fix disable IRQ 2015-03-18 14:41:51 +00:00
dwc3-pci.c usb: dwc3: convert to pcim_enable_device() 2014-05-15 10:26:38 -05:00
ep0.c usb: dwc3: Fix assignment of EP transfer resources 2016-03-08 12:15:22 +00:00
gadget.c usb: dwc3: gadget: increment request->actual once 2016-11-20 01:17:08 +00:00
gadget.h usb: dwc3: gadget: fix set_halt() bug with pending transfers 2014-11-13 11:48:31 +00:00
host.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
io.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
Kconfig usb: dwc3: dwc3-omap: Fix the crash on module removal 2014-06-19 10:06:28 -05:00
Makefile usb: dwc3: add Keystone specific glue layer 2013-12-12 13:43:07 -06:00
platform_data.h usb: dwc3: adapt to use dr_mode device tree helper 2013-07-29 13:56:51 +03:00