Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186940
b: refs/heads/master
c: ad0194e
h: refs/heads/master
v: v3
  • Loading branch information
Luotao Fu authored and Ben Dooks committed Mar 7, 2010
1 parent 9a999e9 commit d63eb9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: 96eb7164e3c2f8c1b53118078e5c06f7c34c2d49
refs/heads/master: ad0194e8d624df67a970a36e8ef9e61514e25553
11 changes: 0 additions & 11 deletions trunk/drivers/i2c/busses/i2c-pnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,6 @@ static int i2c_pnx_master_xmit(struct i2c_pnx_algo_data *alg_data)
/* We still have something to talk about... */
val = *alg_data->mif.buf++;

if (alg_data->mif.len == 1) {
val |= stop_bit;
if (!alg_data->last)
val |= start_bit;
}

alg_data->mif.len--;
iowrite32(val, I2C_REG_TX(alg_data));

Expand Down Expand Up @@ -251,11 +245,6 @@ static int i2c_pnx_master_rcv(struct i2c_pnx_algo_data *alg_data)
__func__);

if (alg_data->mif.len == 1) {
/* Last byte, do not acknowledge next rcv. */
val |= stop_bit;
if (!alg_data->last)
val |= start_bit;

/*
* Enable interrupt RFDAIE (data in Rx fifo),
* and disable DRMIE (need data for Tx)
Expand Down

0 comments on commit d63eb9b

Please sign in to comment.