V4L/DVB (9841): gspca: Use msleep instead of mdelay.
authorJean-Francois Moine <moinejf@free.fr>
Mon, 24 Nov 2008 09:38:21 +0000 (06:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:46 +0000 (09:38 -0200)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c

index 9b71059521f99f1bb91c0b7e98b86120d08ed7e9..6d924f1806965e279a050d52236dce86d3c57afa 100644 (file)
@@ -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 */
                                }