diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2012-12-06 21:55:16 -0600 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-10 15:47:29 -0500 |
commit | 576d28a7c73013717311cfcb514dbcae27c82eeb (patch) | |
tree | 9d74550687b6fa12bb92a005aee042ba71500f6c /drivers/bcma/driver_chipcommon.c | |
parent | 6f80f01483d122174d9aa7864a8ac4050ba6daaa (diff) |
b43legacy: Fix firmware loading when driver is built into the kernel
Recent versions of udev cause synchronous firmware loading from the
probe routine to fail because the request to user space times out.
The original fix for b43legacy (commit a3ea2c7) moved the firmware
load from the probe routine to a work queue, but it still used synchronous
firmware loading. This method is OK when b43legacy is built as a module;
however, it fails when the driver is compiled into the kernel.
This version changes the code to load the initial firmware file
using request_firmware_nowait(). A completion event is used to
hold the work queue until that file is available. The remaining
firmware files are read synchronously.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org> (V3.4+)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/driver_chipcommon.c')
0 files changed, 0 insertions, 0 deletions