Re: [PATCH] i2c: rk3x: fix interrupt handling issue

2014-08-08 Thread Wolfram Sang
On Fri, Aug 08, 2014 at 05:41:40PM +0800, Addy Ke wrote: > If slave holds scl, I2C_IPD[7] will be set 1 by controller > for debugging. Driver must ignore it. > > [5.752391] rk3x-i2c ff16.i2c: unexpected irq in WRITE: 0x80 > [5.939027] rk3x-i2c ff16.i2c: timeout, ipd: 0x80, state: 4

Re: [PATCH] i2c: rk3x: fix interrupt handling issue

2014-08-08 Thread Heiko Stübner
Am Freitag, 8. August 2014, 17:41:40 schrieb Addy Ke: > If slave holds scl, I2C_IPD[7] will be set 1 by controller > for debugging. Driver must ignore it. > > [5.752391] rk3x-i2c ff16.i2c: unexpected irq in WRITE: 0x80 > [5.939027] rk3x-i2c ff16.i2c: timeout, ipd: 0x80, state: 4 >

[PATCH] i2c: rk3x: fix interrupt handling issue

2014-08-08 Thread Addy Ke
If slave holds scl, I2C_IPD[7] will be set 1 by controller for debugging. Driver must ignore it. [5.752391] rk3x-i2c ff16.i2c: unexpected irq in WRITE: 0x80 [5.939027] rk3x-i2c ff16.i2c: timeout, ipd: 0x80, state: 4 Signed-off-by: Addy Ke --- drivers/i2c/busses/i2c-rk3x.c | 2 +-