Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176836
b: refs/heads/master
c: 4a4bc5e
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Mauro Carvalho Chehab committed Dec 16, 2009
1 parent cf1274e commit 79c1b18
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 247cb142a924fad215337170a5201a5cf9d960e1
refs/heads/master: 4a4bc5e4f976bf00ae3c96b57a5bcead72ade5ea
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/tw9910.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,11 +883,12 @@ static int tw9910_video_probe(struct soc_camera_device *icd,

/*
* check and show Product ID
* So far only revisions 0 and 1 have been seen
*/
val = i2c_smbus_read_byte_data(client, ID);

if (0x0B != GET_ID(val) ||
0x00 != GET_ReV(val)) {
0x01 < GET_ReV(val)) {
dev_err(&client->dev,
"Product ID error %x:%x\n", GET_ID(val), GET_ReV(val));
return -ENODEV;
Expand Down

0 comments on commit 79c1b18

Please sign in to comment.