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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue