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
..
2019-07-05 07:19:28 +02:00
2019-07-03 09:20:31 +02:00
2019-06-18 08:52:34 +02:00
2019-07-12 15:13:55 -07:00