summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-03-25 13:15:05 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-14 12:50:28 +0200
commitaaf97874882ffefb5cf2a135085fc88169794e2d (patch)
treec61c05eed8745ae8ccb12596058f0271b8ad57cb /tools
parentmedia: ti-vpe: cal: fix dummy read to phy (diff)
downloadlinux-aaf97874882ffefb5cf2a135085fc88169794e2d.tar.xz
linux-aaf97874882ffefb5cf2a135085fc88169794e2d.zip
media: ti-vpe: cal: program number of lines properly
CAL_CSI2_CTX register has LINES field, which, according to the documentation, should be programmed to the number of lines transmitted by the camera. If the number of lines is unknown, it can be set to 0. The driver sets the field to 0 for some reason, even if we know the number of lines. This patch sets the number of lines properly, which will allow the HW to discard extra lines (if the sensor would send such for some reason), and, according to documentation: "This leads to regular video timings and avoids potential artifacts". Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions