summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2021-06-14 13:23:16 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-07-12 12:36:45 +0200
commitbbdb9ae8d470715f85a690d7d2c7b54e7cff9cd6 (patch)
treed637dfc4f12e8f0e4a5571833b792cd4bd719de4 /samples
parent93080e25a86d20ab875ffc278fa9c67f941f651e (diff)
media: ti-vpe: cal: use v4l2_get_link_freq
CAL driver uses V4L2_CID_PIXEL_RATE to get the required pixel rate, and then changes that value to link rate before configuring the registers. Rewrite the code to use v4l2_get_link_freq(), which simplifies the code as we get the link rate directly, and it also adds support for V4L2_CID_LINK_FREQ. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions