mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
[media] coda: clear registers in coda_hw_init
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f609222a05
commit
9acf7693b7
@ -1753,6 +1753,10 @@ static int coda_hw_init(struct coda_dev *dev)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Clear registers */
|
||||||
|
for (i = 0; i < 64; i++)
|
||||||
|
coda_write(dev, 0, CODA_REG_BIT_CODE_BUF_ADDR + i * 4);
|
||||||
|
|
||||||
/* Tell the BIT where to find everything it needs */
|
/* Tell the BIT where to find everything it needs */
|
||||||
coda_write(dev, dev->workbuf.paddr,
|
coda_write(dev, dev->workbuf.paddr,
|
||||||
CODA_REG_BIT_WORK_BUF_ADDR);
|
CODA_REG_BIT_WORK_BUF_ADDR);
|
||||||
|
Loading…
Reference in New Issue
Block a user