aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/hcd.c')
-rw-r--r--drivers/usb/core/hcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index b2da4753b12e..1609623ec829 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1239,7 +1239,8 @@ static int map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
1239 1239
1240 /* Map the URB's buffers for DMA access. 1240 /* Map the URB's buffers for DMA access.
1241 * Lower level HCD code should use *_dma exclusively, 1241 * Lower level HCD code should use *_dma exclusively,
1242 * unless it uses pio or talks to another transport. 1242 * unless it uses pio or talks to another transport,
1243 * or uses the provided scatter gather list for bulk.
1243 */ 1244 */
1244 if (is_root_hub(urb->dev)) 1245 if (is_root_hub(urb->dev))
1245 return 0; 1246 return 0;