From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] ARM: dts: imx27-pdk: Add PMIC support
Date: Tue, 15 Apr 2014 22:33:26 +0100 [thread overview]
Message-ID: <20140415213326.GY24070@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1397596027-14301-1-git-send-email-festevam@gmail.com>
On Tue, Apr 15, 2014 at 06:07:07PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Hi,
>
> I am sending it as RFC because I am getting the warning below.
>
> Booting the non-dt kernel does not cause this warning.
>
> Appreciate any comments/suggestions.
Quite simply, the driver is buggy. You seem to be getting an interrupt
delivered to the thread right after the IRQ is requested:
ret = request_threaded_irq(mc13xxx->irq, NULL, mc13xxx_irq_thread,
IRQF_ONESHOT | IRQF_TRIGGER_HIGH, "mc13xxx", mc13xxx);
if (ret)
return ret;
mutex_init(&mc13xxx->lock);
and the thread tries to lock mc13xxx->lock.
There's nothing quite like initialising resources before using them...
--
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
next prev parent reply other threads:[~2014-04-15 21:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-15 21:07 [RFC] ARM: dts: imx27-pdk: Add PMIC support Fabio Estevam
2014-04-15 21:33 ` Russell King - ARM Linux [this message]
2014-04-15 21:36 ` Fabio Estevam
2014-04-16 3:54 ` Alexander Shiyan
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=20140415213326.GY24070@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.