Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a16d8aa4 authored by Sachin Surendran's avatar Sachin Surendran Committed by Scott Wood
Browse files

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: default avatarSachin Surendran <sachin.surendran@alliedtelesis.co.nz>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 98c7355f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment