Add support for the new flag to v4l2_print_dv_timings().

Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
---
Follow-up to:
http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/89447
---
 drivers/media/v4l2-core/v4l2-dv-timings.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/media/v4l2-core/v4l2-dv-timings.c 
b/drivers/media/v4l2-core/v4l2-dv-timings.c
index b1d8dbb..c0e9638 100644
--- a/drivers/media/v4l2-core/v4l2-dv-timings.c
+++ b/drivers/media/v4l2-core/v4l2-dv-timings.c
@@ -282,7 +282,7 @@ void v4l2_print_dv_timings(const char *dev_prefix, const 
char *prefix,
                        (bt->polarities & V4L2_DV_VSYNC_POS_POL) ? "+" : "-",
                        bt->vsync, bt->vbackporch);
        pr_info("%s: pixelclock: %llu\n", dev_prefix, bt->pixelclock);
-       pr_info("%s: flags (0x%x):%s%s%s%s\n", dev_prefix, bt->flags,
+       pr_info("%s: flags (0x%x):%s%s%s%s%s\n", dev_prefix, bt->flags,
                        (bt->flags & V4L2_DV_FL_REDUCED_BLANKING) ?
                        " REDUCED_BLANKING" : "",
                        (bt->flags & V4L2_DV_FL_CAN_REDUCE_FPS) ?
@@ -290,7 +290,9 @@ void v4l2_print_dv_timings(const char *dev_prefix, const 
char *prefix,
                        (bt->flags & V4L2_DV_FL_REDUCED_FPS) ?
                        " REDUCED_FPS" : "",
                        (bt->flags & V4L2_DV_FL_HALF_LINE) ?
-                       " HALF_LINE" : "");
+                       " HALF_LINE" : "",
+                       (bt->flags & V4L2_DV_FL_IS_CE_VIDEO) ?
+                       " CE_VIDEO" : "");
        pr_info("%s: standards (0x%x):%s%s%s%s\n", dev_prefix, bt->standards,
                        (bt->standards & V4L2_DV_BT_STD_CEA861) ?  " CEA" : "",
                        (bt->standards & V4L2_DV_BT_STD_DMT) ?  " DMT" : "",
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to