]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Fri, 28 Apr 2017 13:58:58 +0000 (15:58 +0200)
commita44eea26172797204904b61e43cdb73c4433c94f
tree13f2e2ae69816cc72f6128a6557b31e31d49fc91
parentd81cf6c00cd5e9b469d14e13d3a5451449d687f0
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