From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Jamey Hicks <jamey.hicks@hp.com>
Cc: linux-kernel@vger.kernel.org, Greg KH <greg@kroah.com>
Subject: Re: recursive call to platform_device_register deadlocks
Date: Tue, 21 Jun 2005 08:43:01 +0100 [thread overview]
Message-ID: <20050621084301.B30570@flint.arm.linux.org.uk> (raw)
In-Reply-To: <42B43226.20703@hp.com>; from jamey.hicks@hp.com on Sat, Jun 18, 2005 at 10:39:34AM -0400
On Sat, Jun 18, 2005 at 10:39:34AM -0400, Jamey Hicks wrote:
> We've started working on replacing uses of soc_device in handhelds
> drivers by platform_device. One of the things we ran into is that the
> platform_device driver for an ASIC was calling soc_device_register
> inside its probe function. If this is converted to
> platform_device_register, then the process deadlocks because
> bus_add_device locks platform_bus_type.
This should now be resolved as a result of Greg's recent patch driver
model patch set, as appeared on lkml last night.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
next prev parent reply other threads:[~2005-06-21 8:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-18 14:39 recursive call to platform_device_register deadlocks Jamey Hicks
2005-06-19 5:59 ` Greg KH
2005-06-20 13:26 ` Jamey Hicks
2005-06-21 13:55 ` Jamey Hicks
2005-06-21 7:43 ` Russell King [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-06-18 16:06 David Brownell
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=20050621084301.B30570@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=greg@kroah.com \
--cc=jamey.hicks@hp.com \
--cc=linux-kernel@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 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.