summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorSarah Sharp2009-05-14 20:44:26 +0200
committerGreg Kroah-Hartman2009-06-16 06:44:51 +0200
commita4d88302268d1e458f7c6eb7855f1ba4b3a7cffc (patch)
treefb039a911f47b4ae6b696fd101eb19649d5cb065 /drivers/usb/host/xhci-mem.c
parentUSB: xhci: Remove packed attribute from structures. (diff)
downloadkernel-qcow2-linux-a4d88302268d1e458f7c6eb7855f1ba4b3a7cffc.tar.gz
kernel-qcow2-linux-a4d88302268d1e458f7c6eb7855f1ba4b3a7cffc.tar.xz
kernel-qcow2-linux-a4d88302268d1e458f7c6eb7855f1ba4b3a7cffc.zip
USB: xHCI: Fix interrupt moderation.
Mask off the lower 16 bits of the interrupt control register, instead of masking off the upper 16 bits. The interrupt moderation interval field is the lower 16 bytes, and is set to 0x4000 (1ms) by default. The previous code was adding 40 us to the default value, instead of setting it to 40 us. This makes performance really bad. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
0 files changed, 0 insertions, 0 deletions