Re: [PATCH] i2c: axxia: Add bus recovery functionality

2015-05-13 Thread Uwe Kleine-König
Hello, On Wed, May 13, 2015 at 09:20:48AM +0200, Michael Lawnick wrote: > Am 13.05.2015 um 08:55 schrieb ext Uwe Kleine-König: > >On Wed, May 13, 2015 at 08:19:59AM +0200, Michael Lawnick wrote: > >>Am 12.05.2015 um 21:12 schrieb Wolfram Sang: > >>>Doesn't look right. -EAGAIN means arbitration los

Re: [PATCH] i2c: axxia: Add bus recovery functionality

2015-05-12 Thread Wolfram Sang
On Tue, Apr 28, 2015 at 02:20:33PM +0200, Alexander Sverdlin wrote: > Use recovery framework and implement bus recovery using "Bus Monitor" > register. Tests show that shortening SCL to GND results in "completion" > timeout with "BUSY" bit still set. So initiate recovery in case of generic > timeou

[PATCH] i2c: axxia: Add bus recovery functionality

2015-04-28 Thread Alexander Sverdlin
Use recovery framework and implement bus recovery using "Bus Monitor" register. Tests show that shortening SCL to GND results in "completion" timeout with "BUSY" bit still set. So initiate recovery in case of generic timeout and "Arbitration Lost" condition. Signed-off-by: Alexander Sverdlin ---