summaryrefslogtreecommitdiff
path: root/drivers/usb/renesas_usbhs
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2017-09-25 11:01:25 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-09-28 12:31:51 +0300
commit447b8a01b84f048d93d43bfe1fcaa4fcc56595cc (patch)
tree119e3fe5c2b15db45c6fa662fc353103cc9584dc /drivers/usb/renesas_usbhs
parent73f2f5745f18b4ccfe9484deac4e84a1378d19fd (diff)
downloadlinux-447b8a01b84f048d93d43bfe1fcaa4fcc56595cc.tar.xz
usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
This patch fixes an issue that this driver cannot go status stage in control read when the req.zero is set to 1 and the len in usb3_write_pipe() is set to 0. Otherwise, if we use g_ncm driver, usb enumeration takes long time (5 seconds or more). Fixes: 746bfe63bba3 ("usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller") Cc: <stable@vger.kernel.org> # v4.5+ Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
0 files changed, 0 insertions, 0 deletions