diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2020-09-25 20:30:38 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-10-01 09:55:01 +0200 |
commit | af71064bc47b762b9bc78f8d2cc4cdacd863ee0f (patch) | |
tree | 76df0a60717f3e2b6fe06fa657e3fa7e305f61cb | |
parent | 6d1d9ba2c4396f42a134381a5bdfa0d5a416097c (diff) |
media: zoran: convert mdelay to udelay
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>
-rw-r--r-- | drivers/staging/media/zoran/zoran_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/zoran/zoran_device.c b/drivers/staging/media/zoran/zoran_device.c index 0ecb044f8e8f..4c9f6eafd130 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); |