Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319174
b: refs/heads/master
c: 925594e
h: refs/heads/master
v: v3
  • Loading branch information
Michael Hennerich authored and Wolfram Sang committed Jul 13, 2012
1 parent 8eb7aa6 commit 998f6ed
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d61a9095155e832287552a9e565b8756ee293c46
refs/heads/master: 925594e03550f1825647ea5408a32bb9803d90f1
4 changes: 4 additions & 0 deletions trunk/drivers/i2c/busses/i2c-bfin-twi.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ static void bfin_twi_handle_interrupt(struct bfin_twi_iface *iface,
iface->transPtr++;
iface->readNum--;
} else if (iface->manual_stop) {
/* Temporary workaround to avoid possible bus stall -
* Flush FIFO before issuing the STOP condition
*/
read_RCV_DATA16(iface);
write_MASTER_CTL(iface,
read_MASTER_CTL(iface) | STOP);
} else if (iface->cur_mode == TWI_I2C_MODE_REPEAT &&
Expand Down

0 comments on commit 998f6ed

Please sign in to comment.