Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104031
b: refs/heads/master
c: b7474cf
h: refs/heads/master
i:
  104029: e73ccec
  104027: b9ca844
  104023: 86018a0
  104015: 49839a9
  103999: 5f213cc
v: v3
  • Loading branch information
Andoni Zubimendi authored and Mauro Carvalho Chehab committed Jul 20, 2008
1 parent c90df31 commit 384a061
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 794af52a4ce5279c52f1467448b9e672a7db37f0
refs/heads/master: b7474cf9f693a83c9a64c8504a08823a34994a2e
5 changes: 4 additions & 1 deletion trunk/drivers/media/video/gspca/sonixb.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,11 @@ static int i2c_w(struct gspca_dev *gspca_dev, const __u8 *buffer)
while (retry--) {
msleep(10);
reg_r(gspca_dev, 0x08);
if (gspca_dev->usb_buf[0] == 4)
if (gspca_dev->usb_buf[0] & 0x04) {
if (gspca_dev->usb_buf[0] & 0x08)
return -1;
return 0;
}
}
return -1;
}
Expand Down

0 comments on commit 384a061

Please sign in to comment.