commit | 11ebf3ad3b871d262491790e3b273e963d4c3c28 | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Thu Mar 03 18:35:51 2016 +0900 |
committer | Felipe Balbi <balbi@kernel.org> | Fri Mar 04 15:14:48 2016 +0200 |
tree | c5d2716942296d9617d1ec551bfd8362f6f96d13 | |
parent | dd9fee67985882fd05fcf252fb4500265cb3fdcb [diff] |
usb: renesas_usbhs: gadget: fix giveback status code in usbhsg_pipe_disable() A udc driver should set the giveback status to -ESHUTDOWN in usb_ep_disable(). Otherwise, a gadget driver (e.g. g_serial) might request next data wrongly and it is possible to cause kernel panic. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>