From: Domen Puncer <domen.puncer@telargo•com>
To: Scott Wood <scottwood@freescale•com>
Cc: Yoni Levin <yoni.l@slyde-tech•com>, linuxppc-embedded@ozlabs•org
Subject: Re: GPIO interrupts on mpc8313e
Date: Thu, 2 Aug 2007 08:11:47 +0200 [thread overview]
Message-ID: <20070802061147.GA10770@moe.telargo.com> (raw)
In-Reply-To: <20070801183616.GA24549@ld0162-tx32.am.freescale.net>
On 01/08/07 13:36 -0500, Scott Wood wrote:
> On Wed, Aug 01, 2007 at 02:45:05PM +0300, Yoni Levin wrote:
> > request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);
> ^^^^^^^^^^^^^
>
> Did you try removing that flag (or calling enable_irq())?
>From interrupt.h:
38 * IRQF_DISABLED - keep irqs disabled when calling the action handler
>> irq_create_mapping(NULL,74);
>> request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);
Request irq should use virq that irq_create_mapping returns.
Maybe there's another "enable global GPIO interrupts" register, that
needs to be set too?
Domen
next prev parent reply other threads:[~2007-08-02 6:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 11:45 GPIO interrupts on mpc8313e Yoni Levin
2007-08-01 16:26 ` Florian A. Voegel
2007-08-01 18:36 ` Scott Wood
2007-08-02 6:11 ` Domen Puncer [this message]
2007-08-02 8:37 ` Yoni Levin
2007-08-02 15:18 ` Scott Wood
2007-08-02 15:38 ` Yoni Levin
2007-08-02 15:40 ` Scott Wood
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=20070802061147.GA10770@moe.telargo.com \
--to=domen.puncer@telargo$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=scottwood@freescale$(echo .)com \
--cc=yoni.l@slyde-tech$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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