irda/tekram-sir: replace
Subsystems (2)
PATCH 1/1 irda/tekram-sir: replace
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Replace schedule_timeout() with msleep() to guarantee the task delays for the desired time.
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