aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-q.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-q.c')
-rw-r--r--drivers/usb/host/ehci-q.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c
index 0917e3a3246..2499b3bce36 100644
--- a/drivers/usb/host/ehci-q.c
+++ b/drivers/usb/host/ehci-q.c
@@ -649,7 +649,7 @@ qh_urb_transaction (
649 /* 649 /*
650 * data transfer stage: buffer setup 650 * data transfer stage: buffer setup
651 */ 651 */
652 i = urb->num_sgs; 652 i = urb->num_mapped_sgs;
653 if (len > 0 && i > 0) { 653 if (len > 0 && i > 0) {
654 sg = urb->sg; 654 sg = urb->sg;
655 buf = sg_dma_address(sg); 655 buf = sg_dma_address(sg);