linux-stable/drivers/usb/gadget/udc/aspeed-vhub
Benjamin Herrenschmidt 7e420cef90 usb: gadget: aspeed: Fix EP0 stall handling
When stalling EP0, we need to wait for an ACK interrupt,
otherwise we may get out of sync on the next setup packet
data phase. Also we need to ignore the direction when
processing that interrupt as the HW reports a potential
mismatch.

Implement this by adding a stall state to EP0. This fixes
some reported issues with mass storage and some hosts.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-08-12 08:54:48 +03:00
..
core.c
dev.c usb: gadget: aspeed: Cleanup EP0 state on port reset 2019-08-12 08:54:48 +03:00
ep0.c usb: gadget: aspeed: Fix EP0 stall handling 2019-08-12 08:54:48 +03:00
epn.c usb: introduce usb_ep_type_string() function 2019-03-26 16:45:03 +09:00
hub.c usb: gadget: aspeed: Don't set port enable change bit on reset 2019-08-12 08:54:48 +03:00
Kconfig
Makefile
vhub.h usb: gadget: aspeed: Fix EP0 stall handling 2019-08-12 08:54:48 +03:00