public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Ok to call disable_irq before request_irq?
@ 2011-04-05  0:53 Timur Tabi
  2011-04-05  2:17 ` Lars-Peter Clausen
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2011-04-05  0:53 UTC (permalink / raw)
  To: linux-kernel

Is it okay to call disable_irq() before calling request_irq()?  My
device creates lots of spurious interrupts, and so I want the
interrupt enable only when I expect a real interrupt to occur.  It
seems to work, but I just want to make sure it's a proper technique.

-- 
Timur Tabi
Linux kernel developer at Freescale

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

end of thread, other threads:[~2011-04-05  2:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05  0:53 Ok to call disable_irq before request_irq? Timur Tabi
2011-04-05  2:17 ` Lars-Peter Clausen

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