]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 20 Dec 2016 12:08:48 +0000 (14:08 +0200)
committerLuis Henriques <luis.henriques@canonical.com>
Fri, 20 Jan 2017 11:26:48 +0000 (11:26 +0000)
commite212a5553db9facf3e6dc8f6f1a771f351dd1e0f
tree33624a4dd158647907d75b35e74e1f37997df265
parentf518ed10163134af4904518d7e915b7af7474f1d
usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()

BugLink: http://bugs.launchpad.net/bugs/1655969
commit 19ec31230eb3084431bc2e565fd085f79f564274 upstream.

Let's call dwc3_ep0_prepare_one_trb() explicitly
because there are occasions where we will need more
than one TRB to handle an EP0 transfer.

A follow-up patch will fix one bug related to
multiple-TRB Data Phases when it comes to
mapping/unmapping requests for DMA.

Reported-by: Janusz Dziedzic <januszx.dziedzic@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/usb/dwc3/ep0.c