xHCI: store ring's last segment and segment numbers
authorAndiry Xu <andiry.xu@amd.com>
Mon, 5 Mar 2012 09:49:33 +0000 (17:49 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 13 Mar 2012 16:29:46 +0000 (09:29 -0700)
commit3fe4fe083d3355537565b2b0a678807513dfa013
tree69b30ecc405abdc1c5799db3147574edc6c1334d
parent3b72fca09d7aed0c1a390370eb3f3f4f0480702a
xHCI: store ring's last segment and segment numbers

Store the ring's last segment pointer and number of segments for ring
expansion usage.

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
drivers/usb/host/xhci.h