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 /tools/perf/scripts/python | |
| parent | usb: gadget: aspeed: Check suspend/resume callback existence (diff) | |
| download | linux-5f0625aaba5e4c0db75e942ff3c76516465a77d9.tar.gz linux-5f0625aaba5e4c0db75e942ff3c76516465a77d9.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
