Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261434
b: refs/heads/master
c: b877a9a
h: refs/heads/master
v: v3
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 10df0e1 commit 78c43dc
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 686a9488cd23cce1fa8a6cddde0e7668ae2e74b4
refs/heads/master: b877a9a7fb00d96bae4ab49c69f1be65b3e87e61
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/gspca/ov519.c
Original file line number Diff line number Diff line change
Expand Up @@ -2432,9 +2432,12 @@ static int ov518_i2c_r(struct sd *sd, u8 reg)

/* Initiate 2-byte write cycle */
reg_w(sd, R518_I2C_CTL, 0x03);
reg_r8(sd, R518_I2C_CTL);

/* Initiate 2-byte read cycle */
reg_w(sd, R518_I2C_CTL, 0x05);
reg_r8(sd, R518_I2C_CTL);

value = reg_r(sd, R51x_I2C_DATA);
PDEBUG(D_USBI, "ov518_i2c_r %02x %02x", reg, value);
return value;
Expand Down

0 comments on commit 78c43dc

Please sign in to comment.