summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorNas Chung <nas.chung@chipsnmedia.com>2024-07-25 15:10:34 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-27 11:04:16 +0100
commit35662a6ec64d1bab5377a945418cbd1d8ccfb48f (patch)
treec54d3b4e1fd06e0dccd03c09e8e9df6fa903e028 /include/uapi
parent75195e6cc6686f87d4b05fbc15580331750eecf7 (diff)
downloadlinux-35662a6ec64d1bab5377a945418cbd1d8ccfb48f.tar.gz
linux-35662a6ec64d1bab5377a945418cbd1d8ccfb48f.tar.bz2
linux-35662a6ec64d1bab5377a945418cbd1d8ccfb48f.zip
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/videodev2.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 1bbd81f031fe..a0671e510bc4 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -164,7 +164,6 @@ enum v4l2_buf_type {
#define V4L2_TYPE_IS_OUTPUT(type) \
((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT \
|| (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE \
- || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \
|| (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \
|| (type) == V4L2_BUF_TYPE_VBI_OUTPUT \
|| (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT \