summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/videodev2.h
diff options
context:
space:
mode:
authorHans Verkuil2013-03-20 19:26:36 +0100
committerMauro Carvalho Chehab2013-04-15 00:56:07 +0200
commit292a878720b26213bc773619715525e9f7a4f4a1 (patch)
tree9923a1fae925448c02e1a37b11dbebab8bf57dae /include/uapi/linux/videodev2.h
parent[media] radio-si4713: add prio checking and control events (diff)
downloadkernel-qcow2-linux-292a878720b26213bc773619715525e9f7a4f4a1.tar.gz
kernel-qcow2-linux-292a878720b26213bc773619715525e9f7a4f4a1.tar.xz
kernel-qcow2-linux-292a878720b26213bc773619715525e9f7a4f4a1.zip
[media] videodev2.h: fix incorrect V4L2_DV_FL_HALF_LINE bitmask
This was set to 1 << 0 which is the same as V4L2_DV_FL_REDUCED_BLANKING. It should be 1 << 3 instead. Luckily interlaced formats are rarely used, which is why this bug wasn't seen until now. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
-rw-r--r--include/uapi/linux/videodev2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 1282cd38e86a..97fb392bb2d9 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -1074,7 +1074,7 @@ struct v4l2_bt_timings {
longer and field 2 is really one half-line shorter, so each field has
exactly the same number of half-lines. Whether half-lines can be detected
or used depends on the hardware. */
-#define V4L2_DV_FL_HALF_LINE (1 << 0)
+#define V4L2_DV_FL_HALF_LINE (1 << 3)
/** struct v4l2_dv_timings - DV timings