From: Jean-Francois Moine Date: Mon, 24 Nov 2008 09:38:21 +0000 (-0300) Subject: V4L/DVB (9841): gspca: Use msleep instead of mdelay. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=abf485fe5136c4f828df2d07655d6dc7253894a5;p=linux-beck.git V4L/DVB (9841): gspca: Use msleep instead of mdelay. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- 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) 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 */ }