linux/drivers/usb/cdns3
Pawel Laszczak 3b414d1b01 usb: cdnsp: Fix lack of removing request from pending list.
Patch fixes lack of removing request from ep->pending_list on failure
of the stop endpoint command. Driver even after failing this command
must remove request from ep->pending_list.
Without this fix driver can stuck in cdnsp_gadget_ep_disable function
in loop:
        while (!list_empty(&pep->pending_list)) {
                preq = next_request(&pep->pending_list);
                cdnsp_ep_dequeue(pep, preq);
        }

Fixes: 3d82904559 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20210420042813.34917-1-pawell@gli-login.cadence.com
Signed-off-by: Peter Chen <peter.chen@kernel.org>
2021-05-11 14:15:42 +08:00
..
cdns3-debug.h usb: cdns3: Change file names for cdns3 driver. 2020-12-29 12:36:13 +08:00
cdns3-ep0.c usb: cdns3: Fixes for sparse warnings 2020-12-29 12:36:13 +08:00
cdns3-gadget.c usb: cdns3: Fix runtime PM imbalance on error 2021-05-11 14:15:41 +08:00
cdns3-gadget.h usb: cdns3: Optimize DMA request buffer allocation 2021-04-12 20:19:22 +08:00
cdns3-imx.c usb: cdns3: imx: mark cdns_imx_system_resume as __maybe_unused 2021-04-12 20:19:21 +08:00
cdns3-pci-wrap.c usb: cdns3: fix spelling mistake "wrapperr" -> "wrapper" 2020-03-19 15:14:48 +01:00
cdns3-plat.c usb: cdns3: add power lost support for system resume 2021-04-12 20:19:20 +08:00
cdns3-ti.c usb: cdns3: Add support for TI's AM64 SoC 2021-01-23 09:48:56 +08:00
cdns3-trace.c usb: cdns3: Change file names for cdns3 driver. 2020-12-29 12:36:13 +08:00
cdns3-trace.h usb: cdns3: trace: delete the trace parameter for request->trb 2021-04-12 20:19:21 +08:00
cdnsp-debug.h usb: cdnsp: Fixes for sparse warnings 2020-12-29 12:36:13 +08:00
cdnsp-ep0.c usb: cdnsp: Removes some useless trace events 2021-02-06 15:43:52 +08:00
cdnsp-gadget.c usb: cdnsp: Fix lack of removing request from pending list. 2021-05-11 14:15:42 +08:00
cdnsp-gadget.h usb: cdnsp: Fixes issue with Configure Endpoint command 2021-04-12 20:19:23 +08:00
cdnsp-mem.c usb: cdnsp: remove redundant initialization of variable ret 2021-04-12 20:19:22 +08:00
cdnsp-pci.c usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver 2020-12-29 12:36:13 +08:00
cdnsp-ring.c usb: cdnsp: Fixes incorrect value in ISOC TRB 2021-03-13 22:03:24 +08:00
cdnsp-trace.c usb: cdnsp: Add tracepoints for CDNSP driver 2020-12-29 12:36:13 +08:00
cdnsp-trace.h usb: cdnsp: Removes some useless trace events 2021-02-06 15:43:52 +08:00
core.c usb: cdns3: fix static checker warning. 2021-04-12 20:19:21 +08:00
core.h usb: cdns3: Adds missing __iomem markers 2021-01-14 09:01:33 +08:00
drd.c usb: cdns3: add power lost support for system resume 2021-04-12 20:19:20 +08:00
drd.h usb: cdns3: add power lost support for system resume 2021-04-12 20:19:20 +08:00
gadget-export.h usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver 2020-12-29 12:36:13 +08:00
host-export.h usb: cdns3: Removes xhci_cdns3_suspend_quirk from host-export.h 2020-12-29 12:36:13 +08:00
host.c usb: cdns3: Removes xhci_cdns3_suspend_quirk from host-export.h 2020-12-29 12:36:13 +08:00
Kconfig usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver 2020-12-29 12:36:13 +08:00
Makefile usb: cdnsp: fixes undefined reference to cdns_remove 2021-01-14 09:02:00 +08:00