Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37414
b: refs/heads/master
c: 12500f0
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Sep 26, 2006
1 parent 84a5662 commit e0a9df8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: e738e35d1e9ae15b597c713e0b74e9a535020c0d
refs/heads/master: 12500f07c6e179692ae3bd4d7bee9aa07ec74c25
7 changes: 6 additions & 1 deletion trunk/drivers/media/video/tvp5150.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static inline void tvp5150_selmux(struct i2c_client *c)
if ((decoder->route.output & TVP5150_BLACK_SCREEN) || !decoder->enable)
input = 8;

switch (input) {
switch (decoder->route.input) {
case TVP5150_COMPOSITE1:
input |= 2;
/* fall through */
Expand All @@ -308,6 +308,11 @@ static inline void tvp5150_selmux(struct i2c_client *c)
break;
}

tvp5150_dbg( 1, "Selecting video route: route input=%i, output=%i "
"=> tvp5150 input=%i, opmode=%i\n",
decoder->route.input,decoder->route.output,
input, opmode );

tvp5150_write(c, TVP5150_OP_MODE_CTL, opmode);
tvp5150_write(c, TVP5150_VD_IN_SRC_SEL_1, input);
};
Expand Down

0 comments on commit e0a9df8

Please sign in to comment.