Re: [PATCH 5/5] i2c: omap: remove omap_i2c_isr() hw irq handler

From: Felipe Balbi
Date: Wed Jun 19 2013 - 15:44:57 EST

On Wed, Jun 19, 2013 at 09:43:17PM +0300, Grygorii Strashko wrote:
> Hi Felipe,
> On 06/07/2013 10:07 PM, Felipe Balbi wrote:
> >Hi,
> >
> >On Fri, Jun 07, 2013 at 09:46:08PM +0300, Grygorii Strashko wrote:
> >>The omap_i2c_isr() does the irq check and schedules threaded handler if any of
> >>enabled IRQs is active, but currently the I2C IRQs are enabled just once,
> >>when I2C IP is enabling (transfer started) and they aren't changed after that.
> >>More over, now the I2C INTC IRQ is disabled when I2C IP is idled.
> >>Thus, I2C IRQs will start coming only when we want that, and there is
> >>no sense to have omap_i2c_isr() anymore:
> >so ? we still want to check if this device generated IRQs in hardirq
> >context. What if the IRQ line is shared ?
> >
> Pleas see,
> [1/5] i2c: omap: fix spurious IRQs: disable/enable IRQ at INTC when idle
> It covers shared IRQ problem

then you don't need $SUBJECT.


Attachment: signature.asc
Description: Digital signature