[LTPC]: Replace schedule_timeout() with ssleep()/msleep()

Use ssleep() / msleep() [as appropriate]
instead of schedule_timeout() to guarantee the task delays as expected.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Nishanth Aravamudan and committed by David S. Miller 2c4ee8f9 ebc3f64b

+2 -4
+2 -4
drivers/net/appletalk/ltpc.c
··· 1109 1109 inb_p(io+1); 1110 1110 inb_p(io+3); 1111 1111 1112 - set_current_state(TASK_UNINTERRUPTIBLE); 1113 - schedule_timeout(2*HZ/100); 1112 + msleep(20); 1114 1113 1115 1114 inb_p(io+0); 1116 1115 inb_p(io+2); ··· 1119 1120 inb_p(io+5); /* enable dma */ 1120 1121 inb_p(io+6); /* tri-state interrupt line */ 1121 1122 1122 - set_current_state(TASK_UNINTERRUPTIBLE); 1123 - schedule_timeout(HZ); 1123 + ssleep(1); 1124 1124 1125 1125 /* now, figure out which dma channel we're using, unless it's 1126 1126 already been specified */