]> bbs.cooldavid.org Git - net-next-2.6.git/commit
USB: xHCI: Fix interrupt moderation.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 14 May 2009 18:44:26 +0000 (11:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:51 +0000 (21:44 -0700)
commita4d88302268d1e458f7c6eb7855f1ba4b3a7cffc
treefb039a911f47b4ae6b696fd101eb19649d5cb065
parent98441973105b80e133fcaa47ebf17be1e024ea30
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>
drivers/usb/host/xhci-hcd.c