diff options
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
| -rw-r--r-- | drivers/usb/host/ehci-sched.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index 4c972b57c7c3..ccc7300baa6d 100644 --- a/drivers/usb/host/ehci-sched.c +++ b/drivers/usb/host/ehci-sched.c | |||
| @@ -700,6 +700,7 @@ iso_stream_init ( | |||
| 700 | 700 | ||
| 701 | } else { | 701 | } else { |
| 702 | u32 addr; | 702 | u32 addr; |
| 703 | int think_time; | ||
| 703 | 704 | ||
| 704 | addr = dev->ttport << 24; | 705 | addr = dev->ttport << 24; |
| 705 | if (!ehci_is_TDI(ehci) | 706 | if (!ehci_is_TDI(ehci) |
| @@ -709,6 +710,9 @@ iso_stream_init ( | |||
| 709 | addr |= epnum << 8; | 710 | addr |= epnum << 8; |
| 710 | addr |= dev->devnum; | 711 | addr |= dev->devnum; |
| 711 | stream->usecs = HS_USECS_ISO (maxp); | 712 | stream->usecs = HS_USECS_ISO (maxp); |
| 713 | think_time = dev->tt ? dev->tt->think_time : 0; | ||
| 714 | stream->tt_usecs = NS_TO_US (think_time + usb_calc_bus_time ( | ||
| 715 | dev->speed, is_input, 1, maxp)); | ||
| 712 | if (is_input) { | 716 | if (is_input) { |
| 713 | u32 tmp; | 717 | u32 tmp; |
| 714 | 718 | ||
