]> git.baikalelectronics.ru Git - kernel.git/commit
xHCI: factor out segments allocation and free function
authorAndiry Xu <andiry.xu@amd.com>
Mon, 5 Mar 2012 09:49:35 +0000 (17:49 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 13 Mar 2012 16:30:05 +0000 (09:30 -0700)
commitbed0ecb735e0c3b8f5e819f97a66e0014f039afd
tree70bb6e4da4c0b5fa559049b85ea2429fd498209d
parent4308f78c85acae7c9229030046fa0ec7aed1d923
xHCI: factor out segments allocation and free function

Factor out the segments allocation and free part from ring allocation
and free routines since driver may call them directly when try to expand
a ring.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Tested-by: Paul Zimmerman <Paul.Zimmerman@synopsys.com>
drivers/usb/host/xhci-mem.c