diff options
| author | Gregory Herrero <[email protected]> | 2015-09-22 15:16:38 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-10-01 12:40:14 -0500 |
| commit | 30db103c3ddeb0b616eedb8fd030b88efb1af96f (patch) | |
| tree | d6562703bb3f1bd1213227ae9670d4875177ef6e /include/linux/timerqueue.h | |
| parent | cc047ce4be6188d3bd3997b44ec724ce390fbdcb (diff) | |
usb: dwc2: host: create a function to handle port_resume
port resume sequence may be used in different places. Create a
function to handle it. Make hprt0 read-modify-write atomic and
clear HPRT0_SUSP for both writes as it is a "read, write-set,
and self-clear (R_WS_SC)" bit. Since the lock is released
between the writes, read hprt0 again.
Since the phy clock is stopped in dwc2_port_suspend(), enable it
here and remove the PCGCTL write from dwc2_hcd_hub_control()
Signed-off-by: Gregory Herrero <[email protected]>
Signed-off-by: Mian Yousaf Kaukab <[email protected]>
Tested-by: Robert Baldyga <[email protected]>
Tested-by: Dinh Nguyen <[email protected]>
Tested-by: John Youn <[email protected]>
Acked-by: John Youn <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions