summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-24 10:38:21 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-11-24 10:38:21 +0100
commitd83c8412dcfbd95cb0794db8f623f0a697097064 (patch)
tree7fc38242749433294520ce94fc1449cf04540b2f /linux/drivers/media/video/gspca
parent1b1d9fda3678e6dc40cc9670e03f18fd85f6942d (diff)
downloadmediapointer-dvb-s2-d83c8412dcfbd95cb0794db8f623f0a697097064.tar.gz
mediapointer-dvb-s2-d83c8412dcfbd95cb0794db8f623f0a697097064.tar.bz2
gspca: Use msleep instead of mdelay.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r--linux/drivers/media/video/gspca/gspca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.c b/linux/drivers/media/video/gspca/gspca.c
index 79be1e0e4..baf4aa524 100644
--- a/linux/drivers/media/video/gspca/gspca.c
+++ b/linux/drivers/media/video/gspca/gspca.c
@@ -650,7 +650,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 */
}