From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: Requestirq() = freeze for touchscreendriver
Date: Thu, 07 Feb 2008 02:38:14 +0000 [thread overview]
Message-ID: <20080207023814.GF13945@linux-sh.org> (raw)
In-Reply-To: <20080207020600.1651cbf5.Kristoffer.ericson@gmail.com>
On Thu, Feb 07, 2008 at 02:06:00AM +0100, Kristoffer Ericson wrote:
> Been bugtracking touchscreen driver, seems like it gets stuck on IRQ request. irq = 35 in this case. Im still
> bad at recalculating but vect 0x660 = 35?
>
The math for calculating this can be found in the headers. Write a test
app to convert for you if you aren't sure.
> static void __init hp6xx_init_irq(void)
> {
> /* Gets touchscreen and powerbutton IRQ working */
> plat_irq_setup_pins(IRQ_MODE_IRQ);
> }
>
> static int __init hp6xx_devices_setup(void)
> {
> return platform_add_devices(hp6xx_devices, ARRAY_SIZE(hp6xx_devices));
> }
>
> I got two other likely candidates :
> 1) the new base io_map I added (strange that nothing else fails though)
> 2) plat_irq_setup MUST be finished before hp6xx_devices_setup starts, otherwise
> I suspect the IRQ3 would never reach IRQ_MODE.
>
Unfortunately you've not posted enough context to figure out the
initialization sequence. Please post your patch (and as a patch, not an
inlined file) if you want feedback.
next prev parent reply other threads:[~2008-02-07 2:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 1:06 Requestirq() = freeze for touchscreendriver Kristoffer Ericson
2008-02-07 2:38 ` Paul Mundt [this message]
2008-02-07 13:24 ` Kristoffer Ericson
2008-02-08 2:57 ` Magnus Damm
2008-02-08 18:30 ` Kristoffer Ericson
2008-02-08 22:46 ` Kristoffer Ericson
2008-02-09 3:54 ` Paul Mundt
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=20080207023814.GF13945@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.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