lkml.org 
[lkml]   [2005]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: recursive call to platform_device_register deadlocks
Greg KH wrote:

>On Sat, Jun 18, 2005 at 10:39:34AM -0400, Jamey Hicks wrote:
>
>
>>We could restructure the toplevel driver so that it does not call
>>platform_device inside its probe function. An alternative would be to
>>add a pointer to a vector of subdevices to platform_device and have it
>>register the subdevices after it has probed the toplevel device. Do you
>>have any recommendations?
>>
>>
>
>Use the -mm kernel, this should be allowed in that release, due to a
>rework of the driver core logic in this area. Can you test this out and
>verify this?
>
>
>
I tested 2.6.12-mm1 yesterday and verified that it allows recursive
calls to platform_device.

Jamey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-21 16:20    [W:0.058 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site