diff options
author | Andiry Xu <andiry.xu@amd.com> | 2012-03-05 04:49:38 -0500 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-03-13 12:30:53 -0400 |
commit | fdaf8b3183d126d70f19e13c690c762c65b28a5d (patch) | |
tree | 723ff71ce628e0c8d09f4358cd709b036bf4a639 | |
parent | 085deb16845ee0b25385274b39c70cc07e6e4140 (diff) |
xHCI: update sg tablesize
Update sg tablesize as we can expand the ring now.
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>
-rw-r--r-- | drivers/usb/host/xhci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index dec5b2dc298c..f9f161fa66ad 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
@@ -3968,7 +3968,8 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks) | |||
3968 | int retval; | 3968 | int retval; |
3969 | u32 temp; | 3969 | u32 temp; |
3970 | 3970 | ||
3971 | hcd->self.sg_tablesize = TRBS_PER_SEGMENT - 2; | 3971 | /* Accept arbitrarily long scatter-gather lists */ |
3972 | hcd->self.sg_tablesize = ~0; | ||
3972 | 3973 | ||
3973 | if (usb_hcd_is_primary_hcd(hcd)) { | 3974 | if (usb_hcd_is_primary_hcd(hcd)) { |
3974 | xhci = kzalloc(sizeof(struct xhci_hcd), GFP_KERNEL); | 3975 | xhci = kzalloc(sizeof(struct xhci_hcd), GFP_KERNEL); |