]> git.baikalelectronics.ru Git - kernel.git/commit
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:56:56 +0000 (23:56 +0900)
commit882dd3e9d9bc68e331cbed8aa04f91b5c0c12214
tree856a0818e9878ef3940665c327fb17343355d260
parentffe3dca35e5f621bb005002e99c512238954b276
media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'

[ Upstream commit 46b1c607f6bc0de542ca3c67b12ce5f2c8e684a4 ]

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

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 7829dbf985e0 ([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