This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: v4l-utils: sync with media_tree/master
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Fri Jun 4 08:44:13 2021 +0200

Update headers from latest media_tree/master kernel.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 contrib/freebsd/include/linux/v4l2-controls.h | 23 ++++++++++++-----------
 include/linux/cec-funcs.h                     |  2 +-
 include/linux/v4l2-controls.h                 | 23 ++++++++++++-----------
 3 files changed, 25 insertions(+), 23 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=c379af4ae1b99ebbe40bcefc5447c2bf9ad15a06
diff --git a/contrib/freebsd/include/linux/v4l2-controls.h 
b/contrib/freebsd/include/linux/v4l2-controls.h
index 62d0cd6db66b..e329974d3bef 100644
--- a/contrib/freebsd/include/linux/v4l2-controls.h
+++ b/contrib/freebsd/include/linux/v4l2-controls.h
@@ -50,6 +50,7 @@
 #ifndef __LINUX_V4L2_CONTROLS_H
 #define __LINUX_V4L2_CONTROLS_H
 
+#include <linux/const.h>
 #include <linux/types.h>
 
 /* Control classes */
@@ -1600,30 +1601,30 @@ struct v4l2_ctrl_h264_decode_params {
 #define V4L2_FWHT_VERSION                      3
 
 /* Set if this is an interlaced format */
-#define V4L2_FWHT_FL_IS_INTERLACED             BIT(0)
+#define V4L2_FWHT_FL_IS_INTERLACED             _BITUL(0)
 /* Set if this is a bottom-first (NTSC) interlaced format */
-#define V4L2_FWHT_FL_IS_BOTTOM_FIRST           BIT(1)
+#define V4L2_FWHT_FL_IS_BOTTOM_FIRST           _BITUL(1)
 /* Set if each 'frame' contains just one field */
-#define V4L2_FWHT_FL_IS_ALTERNATE              BIT(2)
+#define V4L2_FWHT_FL_IS_ALTERNATE              _BITUL(2)
 /*
  * If V4L2_FWHT_FL_IS_ALTERNATE was set, then this is set if this
  * 'frame' is the bottom field, else it is the top field.
  */
-#define V4L2_FWHT_FL_IS_BOTTOM_FIELD           BIT(3)
+#define V4L2_FWHT_FL_IS_BOTTOM_FIELD           _BITUL(3)
 /* Set if the Y' plane is uncompressed */
-#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED      BIT(4)
+#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED      _BITUL(4)
 /* Set if the Cb plane is uncompressed */
-#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED                BIT(5)
+#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED                _BITUL(5)
 /* Set if the Cr plane is uncompressed */
-#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED                BIT(6)
+#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED                _BITUL(6)
 /* Set if the chroma plane is full height, if cleared it is half height */
-#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT                BIT(7)
+#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT                _BITUL(7)
 /* Set if the chroma plane is full width, if cleared it is half width */
-#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH         BIT(8)
+#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH         _BITUL(8)
 /* Set if the alpha plane is uncompressed */
-#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED     BIT(9)
+#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED     _BITUL(9)
 /* Set if this is an I Frame */
-#define V4L2_FWHT_FL_I_FRAME                   BIT(10)
+#define V4L2_FWHT_FL_I_FRAME                   _BITUL(10)
 
 /* A 4-values flag - the number of components - 1 */
 #define V4L2_FWHT_FL_COMPONENTS_NUM_MSK                GENMASK(18, 16)
diff --git a/include/linux/cec-funcs.h b/include/linux/cec-funcs.h
index 9932239b7f4e..0385d0e7e0d3 100644
--- a/include/linux/cec-funcs.h
+++ b/include/linux/cec-funcs.h
@@ -1665,7 +1665,7 @@ static __inline__ void 
cec_ops_report_current_latency(const struct cec_msg *msg,
        if (*audio_out_compensated == 3 && msg->len >= 7)
                *audio_out_delay = msg->msg[6];
        else
-               *audio_out_delay = 0;
+               *audio_out_delay = 1;
 }
 
 static __inline__ void cec_msg_request_current_latency(struct cec_msg *msg,
diff --git a/include/linux/v4l2-controls.h b/include/linux/v4l2-controls.h
index 62d0cd6db66b..e329974d3bef 100644
--- a/include/linux/v4l2-controls.h
+++ b/include/linux/v4l2-controls.h
@@ -50,6 +50,7 @@
 #ifndef __LINUX_V4L2_CONTROLS_H
 #define __LINUX_V4L2_CONTROLS_H
 
+#include <linux/const.h>
 #include <linux/types.h>
 
 /* Control classes */
@@ -1600,30 +1601,30 @@ struct v4l2_ctrl_h264_decode_params {
 #define V4L2_FWHT_VERSION                      3
 
 /* Set if this is an interlaced format */
-#define V4L2_FWHT_FL_IS_INTERLACED             BIT(0)
+#define V4L2_FWHT_FL_IS_INTERLACED             _BITUL(0)
 /* Set if this is a bottom-first (NTSC) interlaced format */
-#define V4L2_FWHT_FL_IS_BOTTOM_FIRST           BIT(1)
+#define V4L2_FWHT_FL_IS_BOTTOM_FIRST           _BITUL(1)
 /* Set if each 'frame' contains just one field */
-#define V4L2_FWHT_FL_IS_ALTERNATE              BIT(2)
+#define V4L2_FWHT_FL_IS_ALTERNATE              _BITUL(2)
 /*
  * If V4L2_FWHT_FL_IS_ALTERNATE was set, then this is set if this
  * 'frame' is the bottom field, else it is the top field.
  */
-#define V4L2_FWHT_FL_IS_BOTTOM_FIELD           BIT(3)
+#define V4L2_FWHT_FL_IS_BOTTOM_FIELD           _BITUL(3)
 /* Set if the Y' plane is uncompressed */
-#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED      BIT(4)
+#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED      _BITUL(4)
 /* Set if the Cb plane is uncompressed */
-#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED                BIT(5)
+#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED                _BITUL(5)
 /* Set if the Cr plane is uncompressed */
-#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED                BIT(6)
+#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED                _BITUL(6)
 /* Set if the chroma plane is full height, if cleared it is half height */
-#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT                BIT(7)
+#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT                _BITUL(7)
 /* Set if the chroma plane is full width, if cleared it is half width */
-#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH         BIT(8)
+#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH         _BITUL(8)
 /* Set if the alpha plane is uncompressed */
-#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED     BIT(9)
+#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED     _BITUL(9)
 /* Set if this is an I Frame */
-#define V4L2_FWHT_FL_I_FRAME                   BIT(10)
+#define V4L2_FWHT_FL_I_FRAME                   _BITUL(10)
 
 /* A 4-values flag - the number of components - 1 */
 #define V4L2_FWHT_FL_COMPONENTS_NUM_MSK                GENMASK(18, 16)

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to