diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-27 00:08:39 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-27 00:08:39 -0300 |
commit | 51f6ffe21ba00a15a58bc5a424600130a371e3fe (patch) | |
tree | a417e03d2717f7096b8408cbe62451385ca988a5 /linux/drivers/media/video/saa7110.c | |
parent | 651832517bf84c433af2ced6ce2aa666d59f6e96 (diff) | |
download | mediapointer-dvb-s2-51f6ffe21ba00a15a58bc5a424600130a371e3fe.tar.gz mediapointer-dvb-s2-51f6ffe21ba00a15a58bc5a424600130a371e3fe.tar.bz2 |
cx18 and saa7110: remove the fake v4l2_ctrl_query_fill calls for the proper ones
From: Mauro Carvalho Chehab <mchehab@redhat.com>
During the patch merge, I've added a temporary fix for v4l2_ctrl_query_fill(),
just to avoid the tree breakage. Replace those for the proper values.
kernel-sync:
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/saa7110.c')
-rw-r--r-- | linux/drivers/media/video/saa7110.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7110.c b/linux/drivers/media/video/saa7110.c index 7c3ad9829..ad21fdec1 100644 --- a/linux/drivers/media/video/saa7110.c +++ b/linux/drivers/media/video/saa7110.c @@ -336,8 +336,10 @@ static int saa7110_queryctrl(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc) { switch (qc->id) { case V4L2_CID_BRIGHTNESS: + return v4l2_ctrl_query_fill(qc, 0, 255, 1, 128); case V4L2_CID_CONTRAST: case V4L2_CID_SATURATION: + return v4l2_ctrl_query_fill(qc, 0, 127, 1, 64); case V4L2_CID_HUE: return v4l2_ctrl_query_fill(qc, -128, 127, 1, 0); default: |