Commit 7fbcc184 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB: ehci-hcd and period=1frame hs interrupts

This resolves the slowdown Bernd Porr noticed, where rather a lot
of useless work got done.   It should apply to 2.4 too.
parent 359e9557
...@@ -397,7 +397,7 @@ static int qh_schedule (struct ehci_hcd *ehci, struct ehci_qh *qh) ...@@ -397,7 +397,7 @@ static int qh_schedule (struct ehci_hcd *ehci, struct ehci_qh *qh)
if (status == 0) if (status == 0)
break; break;
} }
} while (status && --frame); } while (status && frame--);
if (status) if (status)
goto done; goto done;
qh->start = frame; qh->start = frame;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment