linux/drivers/usb/dwc3
Felipe Balbi ffb80fc672 usb: dwc3: gadget: skip Set/Clear Halt when invalid
At least macOS seems to be sending
ClearFeature(ENDPOINT_HALT) to endpoints which
aren't Halted. This makes DWC3's CLEARSTALL command
time out which causes several issues for the driver.

Instead, let's just return 0 and bail out early.

Cc: <stable@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-01-24 11:04:16 +02:00
..
Kconfig usb: dwc3: pci: call _DSM for suspend/resume 2016-11-03 10:38:42 +02:00
Makefile usb: dwc3: trace: purge dwc3_trace() 2016-11-08 12:52:13 +02:00
core.c usb: patches for v4.10 merge window 2016-11-18 16:02:15 +01:00
core.h usb: dwc3: gadget: align transfers to wMaxPacketSize 2017-01-24 11:04:13 +02:00
debug.h usb: dwc3: trace: purge dwc3_trace() 2016-11-08 12:52:13 +02:00
debugfs.c usb: dwc3: add DWC3_GUCTL1 reg for debug 2016-06-20 12:32:46 +03:00
dwc3-exynos.c usb: dwc3: exynos: Remove MODULE_ALIAS() 2017-01-24 11:04:10 +02:00
dwc3-keystone.c usb: dwc3: keystone: drop dma_mask configuration 2016-04-06 16:36:01 +03:00
dwc3-of-simple.c usb: dwc3: of-simple: add compatible for Cavium 2016-09-13 09:28:59 +03:00
dwc3-omap.c usb: dwc3: omap: Replace the extcon API 2017-01-24 11:04:15 +02:00
dwc3-pci.c usb: dwc3: pci: add Intel Gemini Lake PCI ID 2017-01-02 10:55:28 +02:00
dwc3-st.c usb: patches for v4.10 merge window 2016-11-18 16:02:15 +01:00
ep0.c usb: dwc3: ep0: Fix the possible missed request for handling delay STATUS phase 2017-01-24 11:04:15 +02:00
gadget.c usb: dwc3: gadget: skip Set/Clear Halt when invalid 2017-01-24 11:04:16 +02:00
gadget.h usb: dwc3: cleanup with list_first_entry_or_null() 2016-11-03 10:38:37 +02:00
host.c usb: dwc3: use bus->sysdev for DMA configuration 2016-11-18 13:54:54 +02:00
io.h usb: dwc3: trace: add a proper tracepoint for reg accessors 2016-11-03 10:38:30 +02:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: add a tracepoint for ep enable/disable 2016-11-08 12:52:12 +02:00
ulpi.c usb: dwc3: ulpi: make dwc3_ulpi_ops constant 2016-09-06 10:47:26 +03:00