diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-02-17 11:02:22 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-02-17 18:05:54 +0100 |
commit | d801c1409ef7d45339cbe8ac9de28ade6ed4699a (patch) | |
tree | b43b05716947bf8fa87689ae4f3ae6908552eedd /drivers/pcmcia/cs.c | |
parent | d700518a0e4d17a47321414e5e487ed53f4ae752 (diff) | |
download | blackbird-op-linux-d801c1409ef7d45339cbe8ac9de28ade6ed4699a.tar.gz blackbird-op-linux-d801c1409ef7d45339cbe8ac9de28ade6ed4699a.zip |
pcmcia: remove useless msleep in ds.c
As this is the socket thread (pccardd) starting up, we do not have
anything to wait for in ds.c. Instead, wait the same amount of time
in pccardd to allow userspace to catch up and - possibly - execute
pcmcia-socket-startup.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs.c')
-rw-r--r-- | drivers/pcmcia/cs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index 9a49c394f04f..e679e708db63 100644 --- a/drivers/pcmcia/cs.c +++ b/drivers/pcmcia/cs.c @@ -689,6 +689,9 @@ static int pccardd(void *__skt) complete(&skt->thread_done); + /* wait for userspace to catch up */ + msleep(250); + set_freezable(); for (;;) { unsigned long flags; |