Re: recursive call to platform_device_register deadlocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux