media: zoran: convert mdelay to udelay
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 25 Sep 2020 18:30:38 +0000 (20:30 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 1 Oct 2020 07:55:01 +0000 (09:55 +0200)
As asked by checkpath, let's use udelay.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/zoran/zoran_device.c

index 0ecb044..4c9f6ea 100644 (file)
@@ -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);