From: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
To: linuxppc-embedded@ozlabs.org
Subject: MPC8272: Edge triggered IRQ
Date: Tue, 12 Dec 2006 12:59:45 +1100 [thread overview]
Message-ID: <457E0D11.1010802@rftechnology.com.au> (raw)
I have pretty simple code that I did a long time ago
irqreturn_t irq_handler(int irq, void *dev_id, struct pt_regs *regs)
{
..
return IRQ_HANDLED;
}
request_irq(irq,
&irq_handler,
SA_INTERRUPT,
"irq handler",
NULL);
That code runs on MPC8272 and 2.6.18 kernel.
It triggers IRQ on low level (I thought it was falling edge by default).
So, as long as I have input low level I have hundreds of calls. Pretty
much it keeps calling IRQ handling routine.
How do I make it to trigger on falling edge?
Thank you,
Dmytro
next reply other threads:[~2006-12-12 2:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-12 1:59 Dmytro Bablinyuk [this message]
2006-12-12 2:48 ` MPC8272: Edge triggered IRQ Dmytro Bablinyuk
2006-12-12 8:02 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=457E0D11.1010802@rftechnology.com.au \
--to=dmytro.bablinyuk@rftechnology.com.au \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).