Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19951
b: refs/heads/master
c: ac25230
h: refs/heads/master
i:
  19949: 3d482e7
  19947: 9d96c38
  19943: 372d275
  19935: 1c0279a
v: v3
  • Loading branch information
Markus Rechberger authored and Mauro Carvalho Chehab committed Feb 7, 2006
1 parent a5c1878 commit 9aaeb4a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b0bb68d30b27b067fc654a0668d02c5bfc653a2
refs/heads/master: ac2523014234004413c252e1aa9c12774b7a502d
11 changes: 11 additions & 0 deletions trunk/drivers/media/video/tvp5150.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,17 @@ static int tvp5150_command(struct i2c_client *c,
}
case DECODER_GET_STATUS:
{
int *iarg = arg;
int status;
int res=0;
status = tvp5150_read(c, 0x88);
if(status&0x08){
res |= DECODER_STATUS_COLOR;
}
if(status&0x04 && status&0x02){
res |= DECODER_STATUS_GOOD;
}
*iarg=res;
break;
}

Expand Down

0 comments on commit 9aaeb4a

Please sign in to comment.