projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c6e817
)
[media] media: ti-vpe: scaler: Add debug support for multi-instance
author
Benoit Parrot
<bparrot@ti.com>
Fri, 18 Nov 2016 23:20:40 +0000
(21:20 -0200)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Tue, 22 Nov 2016 10:09:33 +0000
(08:09 -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/sc.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/ti-vpe/sc.c
b/drivers/media/platform/ti-vpe/sc.c
index 52ce1450362f13bcbe2e0b69151e909c18bacbca..e9273b7137829a6865b5c558ed815834355393d5 100644
(file)
--- a/
drivers/media/platform/ti-vpe/sc.c
+++ b/
drivers/media/platform/ti-vpe/sc.c
@@
-28,6
+28,8
@@
void sc_dump_regs(struct sc_data *sc)
#define DUMPREG(r) dev_dbg(dev, "%-35s %08x\n", #r, \
ioread32(sc->base + CFG_##r))
+ dev_dbg(dev, "SC Registers @ %pa:\n", &sc->res->start);
+
DUMPREG(SC0);
DUMPREG(SC1);
DUMPREG(SC2);