projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1acb5dc
)
upstream: [media] coda: clear registers in coda_hw_init
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 23 May 2013 13:42:56 +0000
(10:42 -0300)
committer
Chanho Park
<chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:05 +0000
(11:48 +0900)
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>
drivers/media/platform/coda.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/coda.c
b/drivers/media/platform/coda.c
index
a711297
..
e7efae9
100644
(file)
--- a/
drivers/media/platform/coda.c
+++ b/
drivers/media/platform/coda.c
@@
-1762,6
+1762,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 */
coda_write(dev, dev->workbuf.paddr,
CODA_REG_BIT_WORK_BUF_ADDR);