aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx2341x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx2341x.c')
-rw-r--r--drivers/media/video/cx2341x.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/cx2341x.c b/drivers/media/video/cx2341x.c
index 22847a0444f5..cbbe47fb87b7 100644
--- a/drivers/media/video/cx2341x.c
+++ b/drivers/media/video/cx2341x.c
@@ -508,7 +508,10 @@ int cx2341x_ctrl_query(const struct cx2341x_mpeg_params *params,
508 /* this setting is read-only for the cx2341x since the 508 /* this setting is read-only for the cx2341x since the
509 V4L2_CID_MPEG_STREAM_TYPE really determines the 509 V4L2_CID_MPEG_STREAM_TYPE really determines the
510 MPEG-1/2 setting */ 510 MPEG-1/2 setting */
511 err = v4l2_ctrl_query_fill_std(qctrl); 511 err = v4l2_ctrl_query_fill(qctrl,
512 V4L2_MPEG_VIDEO_ENCODING_MPEG_1,
513 V4L2_MPEG_VIDEO_ENCODING_MPEG_2, 1,
514 V4L2_MPEG_VIDEO_ENCODING_MPEG_2);
512 if (err == 0) 515 if (err == 0)
513 qctrl->flags |= V4L2_CTRL_FLAG_READ_ONLY; 516 qctrl->flags |= V4L2_CTRL_FLAG_READ_ONLY;
514 return err; 517 return err;