diff options
| author | Gregory Herrero <[email protected]> | 2015-09-22 15:16:45 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-10-01 12:40:16 -0500 |
| commit | 08c4ffc24087d1949948002abdbac0d1e71ade5d (patch) | |
| tree | 3298f2b031f9d40c51b3c0fb68748af49c73edd5 /include/linux | |
| parent | bea78555f71e01196d0a4613ffefd4c8920ba439 (diff) | |
usb: dwc2: host: reset frame number after suspend
Frame number is reset in hardware after exiting hibernation.
Thus, reset frame_number and ensure qh are queued with correct
sched_frame.
Otherwise, qh->sched_frame may be too high compared to
current frame number (which is 0). This can delay addition of qh in
the list of transfers until frame number reaches qh->sched_frame.
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')
0 files changed, 0 insertions, 0 deletions