Re: [PATCH] i2c: i2c-omap: fix interrupt flood during resume

2012-10-07 Thread Kalle Jokiniemi
pe, 2012-10-05 kello 15:07 -0700, Kevin Hilman kirjoitti: > +Grygorii (who's been working on various I2C related suspend/resume >issues also) > > Hi Kalle, > > Kalle Jokiniemi writes: > > > The resume_noirq enables interrupts one-by-one starting from > > first one. Now if the wake u

Re: [PATCH] i2c: i2c-omap: fix interrupt flood during resume

2012-10-05 Thread Kevin Hilman
+Grygorii (who's been working on various I2C related suspend/resume issues also) Hi Kalle, Kalle Jokiniemi writes: > The resume_noirq enables interrupts one-by-one starting from > first one. Now if the wake up event for suspend came from i2c > device, the i2c bus irq gets enabled bef

[PATCH] i2c: i2c-omap: fix interrupt flood during resume

2012-10-05 Thread Kalle Jokiniemi
The resume_noirq enables interrupts one-by-one starting from first one. Now if the wake up event for suspend came from i2c device, the i2c bus irq gets enabled before the threaded i2c device irq, causing a flood of i2c bus interrupts as the threaded irq that should clear the event is not enabled ye