dwc_otg: fix summarize urb->actual_length for isochronous transfers
authorMartin Cerveny <M.Cerveny@computer.org>
Mon, 13 Feb 2017 16:23:47 +0000 (17:23 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 20:31:32 +0000 (20:31 +0000)
commitaa9e84b8903a52fbca09484a30953a8080e5a8e2
treea7c2f5bd0cb5f503e5cd025a4c9e7a3b7f691ed6
parent40dcdf882d97cb1d684391d71bdd4dcb67a39189
dwc_otg: fix summarize urb->actual_length for isochronous transfers

Kernel does not copy input data of ISO transfers to userspace
if actual_length is set only in ISO transfers and not summarized
in urb->actual_length. Fixes raspberrypi/linux#903
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c