Skip to content

Commit

Permalink
V4L/DVB (9841): gspca: Use msleep instead of mdelay.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 8843765 commit abf485f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
}
Expand Down

0 comments on commit abf485f

Please sign in to comment.