linux-stable/drivers/usb/gadget/udc/aspeed-vhub
Benjamin Herrenschmidt 5f0625aaba usb: gadget: aspeed: Rework the reset logic
We had some dodgy code using the speed setting to decide whether a
port reset would reset the device or just enable it.

Instead, if the device is disabled and has a gadget attached, a
reset will enable it. If it's already enabled, a reset will
reset it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-08-12 08:54:49 +03:00
..
core.c
dev.c usb: gadget: aspeed: Rework the reset logic 2019-08-12 08:54:49 +03:00
ep0.c usb: gadget: aspeed: Don't reject requests on suspended devices 2019-08-12 08:54:48 +03:00
epn.c usb: gadget: aspeed: Don't reject requests on suspended devices 2019-08-12 08:54:48 +03: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