diff options
| author | Wenyou Yang <[email protected]> | 2016-08-23 09:05:29 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-30 19:23:22 +0200 |
| commit | 2e2aa1bc7eff90ecc1dddfc593aef07c57e539d0 (patch) | |
| tree | 6f7e1220af52e3dd70ef316403f8d07ec448484f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | fc8b690d5da86a4b309b74fb706cc1eb75d003e6 (diff) | |
usb: ohci-at91: Forcibly suspend ports while USB suspend
The usb controller does not manage correctly the suspend mode for
the ehci. In echi mode, there is no way to suspend without any
device connected to it. This is why this specific control is added
to fix this issue. Since the suspend mode works in ohci mode, this
specific control works by suspend the usb controller in ohci mode.
This specific control is by setting the SUSPEND_A/B/C fields of
SFR_OHCIICR(OHCI Interrupt Configuration Register) in the SFR
while the OHCI USB suspend.
This set operation must be done before the USB clock disabled,
clear operation after the USB clock enabled.
Signed-off-by: Wenyou Yang <[email protected]>
Reviewed-by: Alexandre Belloni <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions