diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2019-07-26 15:05:35 +1000 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-08-12 08:54:49 +0300 |
| commit | 5f0625aaba5e4c0db75e942ff3c76516465a77d9 (patch) | |
| tree | 300a1439496631227cb9e8d9d7518a0e898e16b5 /scripts/gdb/linux/modules.py | |
| parent | 155940a16d688b5376f7c955a5f53259c6fe5689 (diff) | |
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>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
