Commit 2590f545 authored by Maximilian Attems's avatar Maximilian Attems Committed by Russell King

[PCMCIA] replace schedule_timeout() with msleep()

Use msleep() instead of schedule_timeout() to guarantee the
task delays as expected.

Signed-off-by: Nishanth Aravamudan
Signed-off-by: Maximilian Attems
Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
parent ad39af83
......@@ -827,8 +827,7 @@ static int yenta_probe_cb_irq(struct yenta_socket *socket)
cb_writel(socket, CB_SOCKET_MASK, CB_CSTSMASK);
cb_writel(socket, CB_SOCKET_FORCE, CB_FCARDSTS);
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(HZ/10);
msleep(100);
/* disable interrupts */
cb_writel(socket, CB_SOCKET_MASK, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment