Subject: Re: How to define an I2C-to-SPI bridge device ?

From: Anton Vorontsov <[email-masked]>
Date: Fri, 10 Sep 2010 22:27:35 +0400

On Fri, Sep 10, 2010 at 08:14:44PM +0200, André Schwarz wrote:
[...]
> > Does the device actually generate edge interrupts?  Or is it a level
> > irq device?  If it is a level irq device, then the correct way to
> > handle this is to disable the irq line so that the event can be
> > handled at non-irq context, and then reenable it when finished.
> 
> The irq is level-low active.
> Will do it via disable/re-enable then.

FYI, In newer kernels you don't have to do it manually, there's
request_threaded_irq() for this.

-- 
Anton Vorontsov
email: [email-masked]
irc://irc.freenode.net/bd2