aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/v4l2-ctrls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c
index 01251431fd2a..ef66d2af0c57 100644
--- a/drivers/media/video/v4l2-ctrls.c
+++ b/drivers/media/video/v4l2-ctrls.c
@@ -1352,7 +1352,7 @@ int v4l2_queryctrl(struct v4l2_ctrl_handler *hdl, struct v4l2_queryctrl *qc)
1352 qc->minimum = ctrl->minimum; 1352 qc->minimum = ctrl->minimum;
1353 qc->maximum = ctrl->maximum; 1353 qc->maximum = ctrl->maximum;
1354 qc->default_value = ctrl->default_value; 1354 qc->default_value = ctrl->default_value;
1355 if (qc->type == V4L2_CTRL_TYPE_MENU) 1355 if (ctrl->type == V4L2_CTRL_TYPE_MENU)
1356 qc->step = 1; 1356 qc->step = 1;
1357 else 1357 else
1358 qc->step = ctrl->step; 1358 qc->step = ctrl->step;