net/tekram-sir: replace
Subsystems (2)
PATCH 34/38 net/tekram-sir: replace
Any comments would be appreciated.
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/net/irda/tekram-sir.c +1 -2
@@ -210,8 +210,7 @@ static int tekram_reset(struct sir_dev *sirdev_set_dtr_rts (dev, FALSE, TRUE);/* Should sleep 1 ms */ -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (msecs_to_jiffies (1 )); +msleep (1 );/* Set DTR, Set RTS */ sirdev_set_dtr_rts (dev, TRUE, TRUE);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors