aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/musb/musb_host.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 8b4be012669a..fcd72b54c851 100644
--- a/drivers/usb/musb/musb_host.c
+++ b/drivers/usb/musb/musb_host.c
@@ -1873,7 +1873,11 @@ static int musb_urb_enqueue(
1873 /* set up tt info if needed */ 1873 /* set up tt info if needed */
1874 if (urb->dev->tt) { 1874 if (urb->dev->tt) {
1875 qh->h_port_reg = (u8) urb->dev->ttport; 1875 qh->h_port_reg = (u8) urb->dev->ttport;
1876 qh->h_addr_reg |= 0x80; 1876 if (urb->dev->tt->hub)
1877 qh->h_addr_reg =
1878 (u8) urb->dev->tt->hub->devnum;
1879 if (urb->dev->tt->multi)
1880 qh->h_addr_reg |= 0x80;
1877 } 1881 }
1878 } 1882 }
1879 } 1883 }