diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-06 17:06:22 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-06 17:06:22 +0100 |
commit | da44bdeb95ea75eec263f42f7703bbf14f004f6a (patch) | |
tree | 4ef557995fff162e4aef114fcd5959956b050ef6 /drivers/i2c/busses/i2c-powermac.c | |
parent | i2c: Prevent priority inversion on top of bus lock (diff) | |
download | linux-da44bdeb95ea75eec263f42f7703bbf14f004f6a.tar.xz linux-da44bdeb95ea75eec263f42f7703bbf14f004f6a.zip |
i2c: Bus drivers don't have to support I2C_M_REV_DIR_ADDR
I2C bus drivers don't have to support I2C_M_REV_DIR_ADDR. It is a
deviation from the I2C specification, which only makes sense to
implement when really needed.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-powermac.c')
-rw-r--r-- | drivers/i2c/busses/i2c-powermac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 02b02413850a..1c440a70ec61 100644 --- a/drivers/i2c/busses/i2c-powermac.c +++ b/drivers/i2c/busses/i2c-powermac.c @@ -162,8 +162,6 @@ static int i2c_powermac_master_xfer( struct i2c_adapter *adap, return -EINVAL; read = (msgs->flags & I2C_M_RD) != 0; addrdir = (msgs->addr << 1) | read; - if (msgs->flags & I2C_M_REV_DIR_ADDR) - addrdir ^= 1; rc = pmac_i2c_open(bus, 0); if (rc) { |