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-Tag: MMI-PSA29.97-13-9~30449^2~230 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=abf485fe5136c4f828df2d07655d6dc7253894a5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 */ }