]> git.baikalelectronics.ru Git - kernel.git/commit
usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 1 Oct 2019 10:10:32 +0000 (19:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 12:36:22 +0000 (14:36 +0200)
commitea06de99ad662dd0c56752e8cd3a6de2eecdffad
tree3c195fcdd6c5a06944543d70e0c35e821f41d95e
parent63b92c15544e22df863fe7c7e0c756cf38db66b3
usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()

The commit 90b0fca50fd5 ("usb: renesas_usbhs: shrink spin lock area")
had added a usbhsg_pipe_disable() calling into
__usbhsg_ep_set_halt_wedge() accidentally. But, this driver should
not call the usbhsg_pipe_disable() because the function discards
all queues. So, this patch removes it.

Fixes: 90b0fca50fd5 ("usb: renesas_usbhs: shrink spin lock area")
Cc: <stable@vger.kernel.org> # v3.1+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1569924633-322-2-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/mod_gadget.c