Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172356
b: refs/heads/master
c: 6f7e549
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare committed Dec 6, 2009
1 parent 1f4122c commit 08b641e
Show file tree
Hide file tree
Showing 2 changed files with 7 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: dddc66ffa048fbc842f5de385031f1826649ffc2
refs/heads/master: 6f7e549f873e9ff10a4a27241db568bf7988ee0c
6 changes: 6 additions & 0 deletions trunk/drivers/i2c/busses/i2c-powermac.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ static int i2c_powermac_master_xfer( struct i2c_adapter *adap,
int read;
int addrdir;

if (num != 1) {
dev_err(&adap->dev,
"Multi-message I2C transactions not supported\n");
return -EOPNOTSUPP;
}

if (msgs->flags & I2C_M_TEN)
return -EINVAL;
read = (msgs->flags & I2C_M_RD) != 0;
Expand Down

0 comments on commit 08b641e

Please sign in to comment.