]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: uapi: v4l: Fix V4L2_TYPE_IS_OUTPUT condition
authorNas Chung <nas.chung@chipsnmedia.com>
Thu, 25 Jul 2024 06:10:34 +0000 (15:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:29 +0000 (11:05 +0100)
commitbc487c490b7542de6fecb43fd5b979610892ac3e
tree6fb8aba7cb0576ab395aa6358be43302fcb1af10
parentb905b9926ee149401e0dff7e91bf4abf1606e42b
media: uapi: v4l: Fix V4L2_TYPE_IS_OUTPUT condition

[ Upstream commit f81f69a0e3da141bdd73a16b8676f4e542533d87 ]

V4L2_TYPE_IS_OUTPUT() returns true for V4L2_BUF_TYPE_VIDEO_OVERLAY
which definitely belongs to CAPTURE.

Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/uapi/linux/videodev2.h