Skip to contentSkip to conversation

usb/tiglusb: replace

PATCH New Nishanth Aravamudan 1 participant 1 message Sep 27, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/9 usb/tiglusb: replace

Any comments would be appreciated.

Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected.

drivers/usb/misc/tiglusb.c +1 -1
@@ -115,7 +115,7 @@ tiglusb_open (struct inode *inode, struc
 			return -EBUSY;
 		}
 
-		schedule_timeout (HZ / 2);
+		msleep_interruptible (500);
 
 		if (signal_pending (current)) {
 			return -EAGAIN;

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors