From: Scott Wood <scottwood@freescale.com>
To: Duy-Ky Nguyen <duykynguyen@hotmail.com>
Cc: Liu Dave <DaveLiu@freescale.com>, linuxppc-embedded@ozlabs.org
Subject: Re: Failure of request_irq() for MPC8313 using arch=powerpc
Date: Tue, 22 Jul 2008 12:55:08 -0500 [thread overview]
Message-ID: <20080722175508.GA13940@loki.buserror.net> (raw)
In-Reply-To: <BLU119-DAV61F2F984D2E145D1E4AA1BB8F0@phx.gbl>
On Tue, Jul 15, 2008 at 08:43:59PM -0700, Duy-Ky Nguyen wrote:
> Hi Dave,
>
> I've just tried it and it failed.
Could you elaborate on exactly what you tried? Did you pass the GPIO device
tree node?
> Before I had tried using the function
> int virq = of_irq_to_resource(GPIO_IRQ, 0, NULL);
> and it failed the same way
The first argument of of_irq_to_resource is a device node pointer, not an
IRQ number. Surely the compiler warned you about this.
-Scott
next prev parent reply other threads:[~2008-07-22 17:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 0:58 Failure of request_irq() for MPC8313 using arch=powerpc Duy-Ky Nguyen
2008-07-16 2:09 ` Liu Dave
2008-07-16 3:43 ` Duy-Ky Nguyen
2008-07-22 17:55 ` Scott Wood [this message]
2008-07-23 1:54 ` Duy-Ky Nguyen
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=20080722175508.GA13940@loki.buserror.net \
--to=scottwood@freescale.com \
--cc=DaveLiu@freescale.com \
--cc=duykynguyen@hotmail.com \
--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).