OSDN Git Service

media: ti-vpe: cal: catch error irqs and print errors
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 25 Mar 2020 12:14:57 +0000 (13:14 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 10:47:20 +0000 (12:47 +0200)
commitffd41d4f1593b2f8f74d1fcc81ea2d38892ada52
tree1e6abeedeb1c8c9a1db5d681196e755e8fba7b9f
parentf7271bfb1801f11df6c82c14986d6b2203786f59
media: ti-vpe: cal: catch error irqs and print errors

CAL reports various errors via IRQs, which are not handled at all by the
current driver. Add code to enable and catch those IRQs and print
errors. This will make it much easier to notice and debug issues with
sensors.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: fix: spaces preferred around that '-']
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal.c
drivers/media/platform/ti-vpe/cal_regs.h