/[linux-patches]/genpatches-2.6/tags/3.0-30/1011_linux-3.0.12.patch
Gentoo

Contents of /genpatches-2.6/tags/3.0-30/1011_linux-3.0.12.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2206 - (show annotations) (download)
Mon Sep 17 18:58:14 2012 UTC (19 months ago) by mpagano
File size: 1171 byte(s)
3.0-30 release
1 diff --git a/Makefile b/Makefile
2 index eaa96c5..993fe05 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -1,6 +1,6 @@
6 VERSION = 3
7 PATCHLEVEL = 0
8 -SUBLEVEL = 11
9 +SUBLEVEL = 12
10 EXTRAVERSION =
11 NAME = Sneaky Weasel
12
13 diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
14 index fb2d0c2..063c630 100644
15 --- a/drivers/usb/host/ehci-sched.c
16 +++ b/drivers/usb/host/ehci-sched.c
17 @@ -1483,15 +1483,10 @@ iso_stream_schedule (
18
19 /* NOTE: assumes URB_ISO_ASAP, to limit complexity/bugs */
20
21 - /* find a uframe slot with enough bandwidth.
22 - * Early uframes are more precious because full-speed
23 - * iso IN transfers can't use late uframes,
24 - * and therefore they should be allocated last.
25 - */
26 - next = start;
27 - start += period;
28 - do {
29 - start--;
30 + /* find a uframe slot with enough bandwidth */
31 + next = start + period;
32 + for (; start < next; start++) {
33 +
34 /* check schedule: enough space? */
35 if (stream->highspeed) {
36 if (itd_slot_ok(ehci, mod, start,
37 @@ -1504,7 +1499,7 @@ iso_stream_schedule (
38 start, sched, period))
39 break;
40 }
41 - } while (start > next);
42 + }
43
44 /* no room in the schedule */
45 if (start == next) {

  ViewVC Help
Powered by ViewVC 1.1.20