diff options
author | Sachin Surendran <sachin.surendran@alliedtelesis.co.nz> | 2012-11-26 11:20:01 +1300 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-06-25 16:53:26 -0500 |
commit | a16d8aa4726a944ffc1616689ae34ff6a902faba (patch) | |
tree | 383c8a010d1dc8a2a6a6bda0467f52507b91d9d7 /arch | |
parent | 98c7355fb373d7c29e5c45d0a423810ad2476b34 (diff) | |
download | linux-a16d8aa4726a944ffc1616689ae34ff6a902faba.tar.gz linux-a16d8aa4726a944ffc1616689ae34ff6a902faba.tar.bz2 linux-a16d8aa4726a944ffc1616689ae34ff6a902faba.zip |
i2c-cpm: Fix to takeback i2c bus master-ship after a collision
In case of collision on i2c bus the controller which lost bus mastership
stays as a slave for all subsequent transfers. This results in the i2c
controller never writing to the bus for future transactions, resulting
in i2c transfer timeouts.
This fix checks for a collision on last I2C transaction and sets the
I2COM_MASTER bit for the new transaction.
Signed-off-by: Sachin Surendran <sachin.surendran@alliedtelesis.co.nz>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions