lkml.org 
[lkml]   [2012]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: A workaround for request_firmware() stuck in module_init
> But then you have cases where probe() -> register_with_my_subsystem() ->
> open(). Network devices come to mind. IE. udev must be able to deal with
> a synchronous firmware load from probe I'm afraid.

I don't believe so. You have

begin probe
find match .. .firmware_name is set
issue firmware load request
set defer flag
end probe

Later..

firmware load complete
kick probe up arse

begin probe
find match .. .firmware is loaded
call ->probe()
register
open
happiness
end probe

Alan


\
 
 \ /
  Last update: 2012-09-06 04:02    [W:0.119 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site