aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-24 06:38:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:38:46 -0200
commitabf485fe5136c4f828df2d07655d6dc7253894a5 (patch)
tree17705675e8de1dd00d58a8b42b405646bc8ebebd
parent8843765e28f0eeb0510edb0cc3037d9e1dffd6a6 (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>
-rw-r--r--drivers/media/video/gspca/gspca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 9b71059521f..6d924f18069 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)
gspca_dev->streaming = 0;
destroy_urbs(gspca_dev);
if (ret == -ENOSPC) {
- mdelay(20); /* wait for kill
+ msleep(20); /* wait for kill
* complete */
break; /* try the previous alt */
}