aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2010-06-13 16:31:22 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:33 -0500
commit88464106f97fe1c143bda2b4019b07c3069d454c (patch)
tree5a3382cf714e94351422031a86862e062085d34e /drivers/media/dvb/frontends
parent1d00d6c1ff13607974fcd9469aa9466fcd253c3a (diff)
[media] au8522: Properly set default brightness
The chip's default value for the brightness didn't match what we were sending back in the queryctrl ioctl(), so if the application actually set the brightness to the "default", it would actually end up being way too bright. This work was sponsored by GetWellNetwork Inc. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/au8522_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/au8522_decoder.c b/drivers/media/dvb/frontends/au8522_decoder.c
index 6d9c5943eb3d..b36d1280f55f 100644
--- a/drivers/media/dvb/frontends/au8522_decoder.c
+++ b/drivers/media/dvb/frontends/au8522_decoder.c
@@ -622,7 +622,7 @@ static int au8522_queryctrl(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc)
622 return v4l2_ctrl_query_fill(qc, 0, 255, 1, 622 return v4l2_ctrl_query_fill(qc, 0, 255, 1,
623 AU8522_TVDEC_CONTRAST_REG00BH_CVBS); 623 AU8522_TVDEC_CONTRAST_REG00BH_CVBS);
624 case V4L2_CID_BRIGHTNESS: 624 case V4L2_CID_BRIGHTNESS:
625 return v4l2_ctrl_query_fill(qc, 0, 255, 1, 128); 625 return v4l2_ctrl_query_fill(qc, 0, 255, 1, 109);
626 case V4L2_CID_SATURATION: 626 case V4L2_CID_SATURATION:
627 return v4l2_ctrl_query_fill(qc, 0, 255, 1, 128); 627 return v4l2_ctrl_query_fill(qc, 0, 255, 1, 128);
628 case V4L2_CID_HUE: 628 case V4L2_CID_HUE: