LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Linux interrupt managing on 8xx
@ 2007-06-04 20:37 DI BACCO ANTONIO - technolabs
  2007-06-06  4:02 ` Ricardo Scop
  0 siblings, 1 reply; 2+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-06-04 20:37 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

I have a component named pca9555 (on the i2c bus) that is an I/O expander. It can generate an interrupt to the MPC8xx processor (SIU_IRQ1 pin). This pin will be active till I read registers of pca9555. Because I cannot access the i2c bus in the interrupt handler I queue a work on a work queue. Just at the end of the interrupt handler  should I disable the interrupt on the mpc8xx? I think that otherwise the interrupt will pop up again till I execute the work in the work queue finally reading the pca9555 and shutting off the source of the interrupt.

Bye,
Antonio.

[-- Attachment #2: Type: text/html, Size: 961 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-06  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 20:37 Linux interrupt managing on 8xx DI BACCO ANTONIO - technolabs
2007-06-06  4:02 ` Ricardo Scop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox