From: Corentin Labbe Date: Fri, 25 Sep 2020 18:30:38 +0000 (+0200) Subject: media: zoran: convert mdelay to udelay X-Git-Tag: v5.10-rc1~175^2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af71064bc47b762b9bc78f8d2cc4cdacd863ee0f;p=thirdparty%2Fkernel%2Flinux.git media: zoran: convert mdelay to udelay As asked by checkpath, let's use udelay. Signed-off-by: Corentin Labbe Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/zoran/zoran_device.c b/drivers/staging/media/zoran/zoran_device.c index 0ecb044f8e8f5..4c9f6eafd130e 100644 --- a/drivers/staging/media/zoran/zoran_device.c +++ b/drivers/staging/media/zoran/zoran_device.c @@ -1332,9 +1332,9 @@ void zoran_init_hardware(struct zoran *zr) void zr36057_restart(struct zoran *zr) { btwrite(0, ZR36057_SPGPPCR); - mdelay(1); + udelay(1000); btor(ZR36057_SPGPPCR_SoftReset, ZR36057_SPGPPCR); - mdelay(1); + udelay(1000); /* assert P_Reset */ btwrite(0, ZR36057_JPC);