diff options
author | Benoit Parrot <bparrot@ti.com> | 2016-11-19 00:20:44 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-22 11:12:24 +0100 |
commit | 3ce0f30f8eadbcabab22a41b5c8cb6af7fcdefca (patch) | |
tree | 7f30ca5710e3786b709d7ddc3600647eed3e2189 /drivers/media/platform | |
parent | [media] media: ti-vpe: Make colorspace converter library into its own module (diff) | |
download | linux-3ce0f30f8eadbcabab22a41b5c8cb6af7fcdefca.tar.xz linux-3ce0f30f8eadbcabab22a41b5c8cb6af7fcdefca.zip |
[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>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/ti-vpe/csc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/ti-vpe/csc.c b/drivers/media/platform/ti-vpe/csc.c index 9fc6f70adeeb..44b8465cf101 100644 --- 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); |