diff options
| author | 2012-09-28 16:01:40 -0400 | |
|---|---|---|
| committer | 2012-10-22 08:57:43 -0700 | |
| commit | 72675479925f53af051ae8a78bcfafeaa47b3eef (patch) | |
| tree | 565aa9eda9af359c7a3fcef4c6dd11d532d38b8e /drivers/usb/core/urb.c | |
| parent | EHCI: use the isochronous scheduling threshold (diff) | |
| download | linux-dev-72675479925f53af051ae8a78bcfafeaa47b3eef.tar.xz linux-dev-72675479925f53af051ae8a78bcfafeaa47b3eef.zip | |
EHCI: replace mult/div with bit-mask operation
This patch (as1610) replaces multiplication and divison operations in
ehci-hcd's isochronous scheduling code with a bit-mask operation,
taking advantage of the fact that isochronous periods are always
powers of 2.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/urb.c')
0 files changed, 0 insertions, 0 deletions
