summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tvp514x.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 18:27:06 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 18:27:06 -0300
commit7dab4777ac8eda4056484c99285d58b6b3a91235 (patch)
tree09fd8bc608241a134916f07018d63cc567bee354 /linux/drivers/media/video/tvp514x.c
parentf46186826e1d7b2933456be22e325799587203db (diff)
parentceb38ab7b287651e30d049e86e6469d4bcc3ea3b (diff)
downloadmediapointer-dvb-s2-7dab4777ac8eda4056484c99285d58b6b3a91235.tar.gz
mediapointer-dvb-s2-7dab4777ac8eda4056484c99285d58b6b3a91235.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-fill-std
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/tvp514x.c')
-rw-r--r--linux/drivers/media/video/tvp514x.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tvp514x.c b/linux/drivers/media/video/tvp514x.c
index f0b2b8ed2..4262e60b8 100644
--- a/linux/drivers/media/video/tvp514x.c
+++ b/linux/drivers/media/video/tvp514x.c
@@ -725,10 +725,9 @@ ioctl_queryctrl(struct v4l2_int_device *s, struct v4l2_queryctrl *qctrl)
switch (qctrl->id) {
case V4L2_CID_BRIGHTNESS:
- /* Brightness supported is same as standard one (0-255),
- * so make use of standard API provided.
+ /* Brightness supported is (0-255),
*/
- err = v4l2_ctrl_query_fill_std(qctrl);
+ err = v4l2_ctrl_query_fill(qctrl, 0, 255, 1, 128);
break;
case V4L2_CID_CONTRAST:
case V4L2_CID_SATURATION: