diff options
Diffstat (limited to 'drivers/media/video/saa7115.c')
-rw-r--r-- | drivers/media/video/saa7115.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index dd1943987ce6..a845582ca5d4 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -1206,10 +1206,12 @@ static int saa711x_queryctrl(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc) | |||
1206 | { | 1206 | { |
1207 | switch (qc->id) { | 1207 | switch (qc->id) { |
1208 | case V4L2_CID_BRIGHTNESS: | 1208 | case V4L2_CID_BRIGHTNESS: |
1209 | return v4l2_ctrl_query_fill(qc, 0, 255, 1, 128); | ||
1209 | case V4L2_CID_CONTRAST: | 1210 | case V4L2_CID_CONTRAST: |
1210 | case V4L2_CID_SATURATION: | 1211 | case V4L2_CID_SATURATION: |
1212 | return v4l2_ctrl_query_fill(qc, 0, 127, 1, 64); | ||
1211 | case V4L2_CID_HUE: | 1213 | case V4L2_CID_HUE: |
1212 | return v4l2_ctrl_query_fill_std(qc); | 1214 | return v4l2_ctrl_query_fill(qc, -128, 127, 1, 0); |
1213 | default: | 1215 | default: |
1214 | return -EINVAL; | 1216 | return -EINVAL; |
1215 | } | 1217 | } |