diff options
author | Russell King <rmk@flint.arm.linux.org.uk> | 2004-08-06 19:38:15 +0100 |
---|---|---|
committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-08-06 19:38:15 +0100 |
commit | be7650a8a296f71808c4abbc9b9559a1e77c0168 (patch) | |
tree | 3fc26920a34cbbe0b865cc76b52a00cfb64cca92 /drivers | |
parent | 9f53c6cce8ef992d0806e29ddb39de3ea4baa619 (diff) | |
download | history-be7650a8a296f71808c4abbc9b9559a1e77c0168.tar.gz |
[SERIAL] replace schedule_timeout() with msleep()
Patch from: Nishanth Aravamudan
Use msleep() instead of schedule_timeout() to
guarantee the task delays for the desired time.
Signed-off-by: Nishanth Aravamudan
Signed-off-by: Russell King
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/8250_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index 8639c7dd0e786a..34b367778dc943 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c @@ -574,8 +574,7 @@ titan_400l_800l_setup(struct pci_dev *dev, struct pci_board *board, static int __devinit pci_xircom_init(struct pci_dev *dev) { - __set_current_state(TASK_UNINTERRUPTIBLE); - schedule_timeout(HZ/10); + msleep(100); return 0; } |