v4l2-dv-timings: log new V4L2_DV_FL_IS_CE_VIDEO flag
Add support for the new flag to v4l2_print_dv_timings().
Signed-off-by Hans Verkuil <[email protected]>
---
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(-)
drivers/media/v4l2-core/v4l2-dv-timings.c +4 -2
@@ -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" : "",
Signature · 1 line
2.1.4