[PATCH] i2c-cpm: Fix to takeback i2c bus master-ship after a collision

2012-10-31 Thread sachin surendran
and sets the I2COM_MASTER bit for the new transaction. Signed-off-by: Sachin Surendran --- drivers/i2c/busses/i2c-cpm.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index c1e1096..bb94c6d 100644 --- a/drivers/i2c

[PATCH 1/1] i2c-cpm: Fix to takeback i2c bus master-ship after a collision

2012-11-25 Thread sachin . surendran
From: Sachin Surendran 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

Re: [PATCH] i2c-cpm: Fix to takeback i2c bus master-ship after a collision

2012-11-25 Thread sachin surendran
Hi Kumar, I have resent the updated patch. Regards Sachin On Mon, Nov 26, 2012 at 2:21 AM, Kumar Gala wrote: > > On Oct 30, 2012, at 10:00 PM, sachin surendran wrote: > >> In case of collision on i2c bus the controller which lost bus mastership >> stays