usb/auerswald: add
Subsystems (2)
PATCH 2/9 usb/auerswald: add
Any comments would be appreciated. One patch removed from USB set, so total is now 9.
Description: Reorder set_current_state() and schedule_timeout() so that schedule_timeout() will delay as expected every iteration of the while-loop. Without the addition, schedule_timeout() will return immediately in the first iteration.
drivers/usb/misc/auerswald.c +1 -1
@@ -626,8 +626,8 @@ static int auerchain_start_wait_urb (pauwhile (timeout && !chs.done) { - timeout =schedule_timeout (timeout);set_current_state (TASK_UNINTERRUPTIBLE ); + timeout =schedule_timeout (timeout);rmb (); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
PATCH 2/9 usb/auerswald: reorder
Wrong subject line! Please use this version.
-Nish
Description: Reorder set_current_state() and schedule_timeout() so that schedule_timeout() will delay as expected every iteration of the while-loop. Without the addition, schedule_timeout() will return immediately in the first iteration.
drivers/usb/misc/auerswald.c +1 -1
@@ -626,8 +626,8 @@ static int auerchain_start_wait_urb (pauwhile (timeout && !chs.done) { - timeout =schedule_timeout (timeout);set_current_state (TASK_UNINTERRUPTIBLE ); + timeout =schedule_timeout (timeout);rmb (); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors