Skip to contentSkip to conversation

serial/8250_pci: replace

PATCH New Nishanth Aravamudan 1 participant 1 message Jul 27, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial/8250_pci: replace

I would appreciate any comments from the janitors list.

Applys-to: 2.6.7

Description: Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time.

drivers/serial/8250_pci.c +1 -2
@@ -574,8 +574,7 @@ titan_400l_800l_setup(struct pci_dev *de
 
 static int __devinit pci_xircom_init(struct pci_dev *dev)
 {
-	__set_current_state(TASK_UNINTERRUPTIBLE);
-	schedule_timeout(HZ/10);
+	msleep(100);
 	return 0;
 }
 

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