diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-powermac.c')
-rw-r--r-- | drivers/i2c/busses/i2c-powermac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 1425d2245c82..0ab4f2627c26 100644 --- a/drivers/i2c/busses/i2c-powermac.c +++ b/drivers/i2c/busses/i2c-powermac.c | |||
@@ -121,8 +121,7 @@ static s32 i2c_powermac_smbus_xfer( struct i2c_adapter* adap, | |||
121 | if (rc) | 121 | if (rc) |
122 | goto bail; | 122 | goto bail; |
123 | rc = pmac_i2c_xfer(bus, addrdir, 1, command, | 123 | rc = pmac_i2c_xfer(bus, addrdir, 1, command, |
124 | read ? data->block : &data->block[1], | 124 | &data->block[1], data->block[0]); |
125 | data->block[0]); | ||
126 | break; | 125 | break; |
127 | 126 | ||
128 | default: | 127 | default: |