mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 21:35:07 +00:00
[media] media: ti-vpe: csc: Add debug support for multi-instance
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>
This commit is contained in:
parent
51b56c3941
commit
3ce0f30f8e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user