media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 12 Oct 2022 15:46:17 +0000 (16:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 14:50:56 +0000 (23:50 +0900)
commitf5a9f967f10b14a8e47f562cb4ea10e050e997d3
tree98efedd58ade3273d8345ec3dcec39096db02e08
parent3d43b2b8a3cdadd6cef9ac8ef5d156b6214a01c8
media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'

[ Upstream commit 8da7f0976b9071b528c545008de9d10cc81883b1 ]

If it is a progressive (non-interlaced) format, then ignore the
interlaced timing values.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 7f68127fa11f ([media] videodev2.h: defines to calculate blanking and frame sizes)
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/uapi/linux/videodev2.h