diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2012-07-11 15:22:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 23:54:25 (GMT) |
commit | 314466101c6ae14f6f5db8a86eda1509ba2c02a8 (patch) | |
tree | d2605336919a20a1ee122c813ca7ddc479755d12 /Makefile | |
parent | 9671cd7a91059bcd27665a884ee6568d31ef6857 (diff) | |
download | linux-fsl-qoriq-314466101c6ae14f6f5db8a86eda1509ba2c02a8.tar.xz |
USB: EHCI: use hrtimer for async schedule
This patch (as1576) adds hrtimer support for managing ehci-hcd's
async schedule. Just as with the earlier change to the periodic
schedule management, two new hrtimer events take care of everything.
One event polls at 1-ms intervals to see when the Asynchronous
Schedule Status (ASS) flag matches the Asynchronous Schedule Enable
(ASE) value; the schedule's state must not be changed until it does.
The other event delays for 15 ms after the async schedule becomes
empty before turning it off.
The new events replace a busy-wait poll and a kernel timer usage.
They also replace the rather illogical method currently used for
indicating the async schedule should be turned off: attempting to
unlink the dedicated QH at the head of the async list.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions