aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 2a19336c9824..2e704fa3cedf 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -629,7 +629,8 @@ static int ehci_init(struct usb_hcd *hcd)
629 ehci->command = temp; 629 ehci->command = temp;
630 630
631 /* Accept arbitrarily long scatter-gather lists */ 631 /* Accept arbitrarily long scatter-gather lists */
632 hcd->self.sg_tablesize = ~0; 632 if (!(hcd->driver->flags & HCD_LOCAL_MEM))
633 hcd->self.sg_tablesize = ~0;
633 return 0; 634 return 0;
634} 635}
635 636