Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21617
b: refs/heads/master
c: 19d7509
h: refs/heads/master
i:
  21615: 5c93eaa
v: v3
  • Loading branch information
Markus Rechberger authored and Mauro Carvalho Chehab committed Feb 7, 2006
1 parent ca2f26a commit 75ce952
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: 33ccaa3feb2a6e09942b6f0af6fbb0451a2e1537
refs/heads/master: 19d7509c0531b0e08f52ab93070569e0aba54cdf
11 changes: 11 additions & 0 deletions trunk/drivers/media/video/tvp5150.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,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 75ce952

Please sign in to comment.