diff options
author | Dave Jones <davej@redhat.com> | 2007-01-25 15:56:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 13:37:14 -0500 |
commit | 2f65168de7d68a5795e945e781d85b313bdc97b9 (patch) | |
tree | fcc2820db14ea4940921b96eeeb9053c1db68141 /drivers/base/firmware_class.c | |
parent | b7a3e813fb84624166f034e25234f98de5846bfc (diff) |
Driver Core: Increase the default timeout value of the firmware subsystem
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174589
The ipw driver sometimes takes a long time to load its firmware.
Whilst the ipw driver should be using the async interface of
the firmware loader to make this a non-issue, this is a minimal fix.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/firmware_class.c')
-rw-r--r-- | drivers/base/firmware_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 64558f45e6bc..c0a979a5074b 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c | |||
@@ -35,7 +35,7 @@ enum { | |||
35 | FW_STATUS_READY_NOHOTPLUG, | 35 | FW_STATUS_READY_NOHOTPLUG, |
36 | }; | 36 | }; |
37 | 37 | ||
38 | static int loading_timeout = 10; /* In seconds */ | 38 | static int loading_timeout = 60; /* In seconds */ |
39 | 39 | ||
40 | /* fw_lock could be moved to 'struct firmware_priv' but since it is just | 40 | /* fw_lock could be moved to 'struct firmware_priv' but since it is just |
41 | * guarding for corner cases a global lock should be OK */ | 41 | * guarding for corner cases a global lock should be OK */ |