OpenCloudOS-Kernel/drivers/usb/cdns3
Pawel Laszczak 10076de33b
usb: cdnsp: Fixes issue with Configure Endpoint command
Patch adds flag EP_UNCONFIGURED to detect whether endpoint was
unconfigured. This flag is set in cdnsp_reset_device after Reset Device
command. Among others this command disables all non control endpoints.
Flag is used in cdnsp_gadget_ep_disable to protect controller against
invoking Configure Endpoint command on disabled endpoint. Lack of this
protection in some cases caused that Configure Endpoint command completed
with Context State Error code completion.

Fixes: 3d82904559 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@kernel.org>
2021-04-12 20:19:23 +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
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: Optimize DMA request buffer allocation 2021-04-12 20:19:22 +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: Fixes issue with Configure Endpoint command 2021-04-12 20:19:23 +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