Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76389
b: refs/heads/master
c: c80296d
h: refs/heads/master
i:
  76387: 7fc20a2
v: v3
  • Loading branch information
Roel Kluin authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent bfe8135 commit dede637
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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: bbe1e0ba527a18e1ddda2eabb9da369e5bcf556e
refs/heads/master: c80296d755df29167deafa53e612644a95b40c6e
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/dvb-usb/au6610.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ static int au6610_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
struct dvb_usb_device *d = i2c_get_adapdata(adap);
int i;

if (mutex_lock_interruptible(&d->i2c_mutex) < 0)
return -EAGAIN;

if (num > 2)
return -EINVAL;

if (mutex_lock_interruptible(&d->i2c_mutex) < 0)
return -EAGAIN;

for (i = 0; i < num; i++) {
/* write/read request */
if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) {
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/dvb-usb/gl861.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ static int gl861_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
struct dvb_usb_device *d = i2c_get_adapdata(adap);
int i;

if (mutex_lock_interruptible(&d->i2c_mutex) < 0)
return -EAGAIN;

if (num > 2)
return -EINVAL;

if (mutex_lock_interruptible(&d->i2c_mutex) < 0)
return -EAGAIN;

for (i = 0; i < num; i++) {
/* write/read request */
if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) {
Expand Down

0 comments on commit dede637

Please sign in to comment.