mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-15 06:16:33 +07:00
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>
This commit is contained in:
parent
6d1d9ba2c4
commit
af71064bc4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user