diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-11-24 04:38:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:46 -0500 |
commit | abf485fe5136c4f828df2d07655d6dc7253894a5 (patch) | |
tree | 17705675e8de1dd00d58a8b42b405646bc8ebebd /drivers/media/video/gspca/gspca.c | |
parent | 8843765e28f0eeb0510edb0cc3037d9e1dffd6a6 (diff) |
V4L/DVB (9841): gspca: Use msleep instead of mdelay.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 9b71059521f9..6d924f180696 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c | |||
@@ -640,7 +640,7 @@ static int gspca_init_transfer(struct gspca_dev *gspca_dev) | |||
640 | gspca_dev->streaming = 0; | 640 | gspca_dev->streaming = 0; |
641 | destroy_urbs(gspca_dev); | 641 | destroy_urbs(gspca_dev); |
642 | if (ret == -ENOSPC) { | 642 | if (ret == -ENOSPC) { |
643 | mdelay(20); /* wait for kill | 643 | msleep(20); /* wait for kill |
644 | * complete */ | 644 | * complete */ |
645 | break; /* try the previous alt */ | 645 | break; /* try the previous alt */ |
646 | } | 646 | } |