Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73162
b: refs/heads/master
c: 032c202
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Nov 4, 2007
1 parent 5782f80 commit 2d35264
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d35c8f648763299926d6e19de5334e15a9be7ab
refs/heads/master: 032c2028ac6829cbbbf2639e5e2861bf14f73b91
16 changes: 8 additions & 8 deletions trunk/drivers/media/video/tvp5150.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,10 +799,10 @@ static inline void tvp5150_reset(struct i2c_client *c)
tvp5150_write_inittab(c, tvp5150_init_enable);

/* Initialize image preferences */
tvp5150_write(c, TVP5150_BRIGHT_CTL, decoder->bright >> 8);
tvp5150_write(c, TVP5150_CONTRAST_CTL, decoder->contrast >> 8);
tvp5150_write(c, TVP5150_SATURATION_CTL, decoder->contrast >> 8);
tvp5150_write(c, TVP5150_HUE_CTL, (decoder->hue - 32768) >> 8);
tvp5150_write(c, TVP5150_BRIGHT_CTL, decoder->bright);
tvp5150_write(c, TVP5150_CONTRAST_CTL, decoder->contrast);
tvp5150_write(c, TVP5150_SATURATION_CTL, decoder->contrast);
tvp5150_write(c, TVP5150_HUE_CTL, decoder->hue);

tvp5150_set_std(c, decoder->norm);
};
Expand Down Expand Up @@ -1077,10 +1077,10 @@ static int tvp5150_detect_client(struct i2c_adapter *adapter,
core->norm = V4L2_STD_ALL; /* Default is autodetect */
core->route.input = TVP5150_COMPOSITE1;
core->enable = 1;
core->bright = 32768;
core->contrast = 32768;
core->hue = 32768;
core->sat = 32768;
core->bright = 128;
core->contrast = 128;
core->hue = 0;
core->sat = 128;

if (rv) {
kfree(c);
Expand Down

0 comments on commit 2d35264

Please sign in to comment.