Re: How to define an I2C-to-SPI bridge device ?
From: Anton Vorontsov <hidden>
Date: 2010-09-10 18:27:35
Also in:
linux-devicetree
From: Anton Vorontsov <hidden>
Date: 2010-09-10 18:27:35
Also in:
linux-devicetree
On Fri, Sep 10, 2010 at 08:14:44PM +0200, André Schwarz wrote: [...]
quoted
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: cbouatmailru@gmail.com irc://irc.freenode.net/bd2