]> git.baikalelectronics.ru Git - kernel.git/commit
USB: xHCI: allocate bigger ring for isochronous endpoint
authorAndiry Xu <andiry.xu@amd.com>
Thu, 22 Jul 2010 22:23:47 +0000 (15:23 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:41 +0000 (14:35 -0700)
commit83a917fc5eb2235390b30b91e505803746cd86bb
treed8440fbedb5761c6a4058f1382ef6bdf46944a24
parente33e96890bfdadf8dc32d4c69ae636d37ebe2618
USB: xHCI: allocate bigger ring for isochronous endpoint

Isochronous endpoint needs a bigger size of transfer ring. Isochronous URB
consists of multiple packets, each packet needs a isoc td to carry, and
there will be multiple trbs inserted to the ring at one time. One segment
is too small for isochronous endpoints, and it will result in
room_on_ring() check failure and the URB is failed to enqueue.

Allocate bigger ring for isochronous endpoint. 8 segments should be enough.
This will be replaced with dynamic ring expansion in the future.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-mem.c