If I were to want the EHCI host controller to not schedule new iTDs within the IST, would this patch do that? It would have to be applied on top of my last patch for the isoc boundary checking bug fix. Signed-off-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx> --- drivers/usb/host/ehci-sched.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index 3efa59b..28e5875 100644 --- a/drivers/usb/host/ehci-sched.c +++ b/drivers/usb/host/ehci-sched.c @@ -1400,10 +1400,11 @@ iso_stream_schedule ( goto fail; } - now = ehci_readl(ehci, &ehci->regs->frame_index) % mod; + now = ehci_readl(ehci, &ehci->regs->frame_index) + ehci->i_thresh; + now = now % mod; /* when's the last uframe this urb could start? */ - max = now + mod; + max = now + mod - ehci->i_thresh; /* Typical case: reuse current schedule, stream is still active. * Hopefully there are no gaps from the host falling behind -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html