projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b56c3
)
[media] media: ti-vpe: csc: Add debug support for multi-instance
author
Benoit Parrot
<bparrot@ti.com>
Fri, 18 Nov 2016 23:20:44 +0000
(21:20 -0200)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Tue, 22 Nov 2016 10:12:24 +0000
(08:12 -0200)
Since there might be more then one instance it is better to
show the base address when dumping registers to help
with debugging.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/ti-vpe/csc.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/ti-vpe/csc.c
b/drivers/media/platform/ti-vpe/csc.c
index 9fc6f70adeeb6b3deaa1eed80ec5a3002f0ef12a..44b8465cf101adc56017fac6e19e0c476b9c74ec 100644
(file)
--- a/
drivers/media/platform/ti-vpe/csc.c
+++ b/
drivers/media/platform/ti-vpe/csc.c
@@
-97,6
+97,8
@@
void csc_dump_regs(struct csc_data *csc)
#define DUMPREG(r) dev_dbg(dev, "%-35s %08x\n", #r, \
ioread32(csc->base + CSC_##r))
+ dev_dbg(dev, "CSC Registers @ %pa:\n", &csc->res->start);
+
DUMPREG(CSC00);
DUMPREG(CSC01);
DUMPREG(CSC02);