summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorAlan Stern2012-07-11 17:22:26 +0200
committerGreg Kroah-Hartman2012-07-17 01:54:25 +0200
commitdf2022553dd8d34d49e16c19d851ea619438f0ef (patch)
tree9850c967e0fbee1cb99e900c2e60a0ad50b528da /drivers/usb/core
parentUSB: EHCI: use hrtimer for async schedule (diff)
downloadkernel-qcow2-linux-df2022553dd8d34d49e16c19d851ea619438f0ef.tar.gz
kernel-qcow2-linux-df2022553dd8d34d49e16c19d851ea619438f0ef.tar.xz
kernel-qcow2-linux-df2022553dd8d34d49e16c19d851ea619438f0ef.zip
USB: EHCI: use hrtimer for interrupt QH unlink
This patch (as1577) adds hrtimer support for unlinking interrupt QHs in ehci-hcd. The current code relies on a fixed delay of either 2 or 55 us, which is not always adequate and in any case is totally bogus. Thanks to internal caching, the EHCI hardware may continue to access an interrupt QH for more than a millisecond after it has been unlinked. In fact, the EHCI spec doesn't say how long to wait before using an unlinked interrupt QH. The patch sets the delay to 9 microframes minimum, which ought to be adequate. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions