Re: [PATCH v7 09/15] i2c: octeon: Add workaround for broken irqs on CN3860

2016-04-27 Thread Jan Glauber
On Tue, Apr 26, 2016 at 11:17:59PM +0200, Wolfram Sang wrote: > On Mon, Apr 25, 2016 at 04:33:38PM +0200, Jan Glauber wrote: > > From: David Daney > > > > CN3860 does not interrupt the CPU when the i2c status changes. If > > we get a timeout, and see the status has in fact changed, we know we > >

Re: [PATCH v7 09/15] i2c: octeon: Add workaround for broken irqs on CN3860

2016-04-26 Thread Wolfram Sang
On Mon, Apr 25, 2016 at 04:33:38PM +0200, Jan Glauber wrote: > From: David Daney > > CN3860 does not interrupt the CPU when the i2c status changes. If > we get a timeout, and see the status has in fact changed, we know we > have this problem, and drop back to polling. > > Signed-off-by: David Da

[PATCH v7 09/15] i2c: octeon: Add workaround for broken irqs on CN3860

2016-04-25 Thread Jan Glauber
From: David Daney CN3860 does not interrupt the CPU when the i2c status changes. If we get a timeout, and see the status has in fact changed, we know we have this problem, and drop back to polling. Signed-off-by: David Daney Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon.c | 53