]> git.karo-electronics.de Git - karo-tx-linux.git/commit
b43legacy: Load firmware from work queue instead of from probe routine
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 9 Mar 2012 04:25:57 +0000 (22:25 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Mar 2012 18:54:15 +0000 (14:54 -0400)
commita3ea2c76b193be5794e0de6aff66e14c21b904f8
tree61c28cbc5a3dc3a93bd857155c58c0baa76578d9
parent843dc6644be05edfcb14f7f7ce5b2ab2bc15b429
b43legacy: Load firmware from work queue instead of from probe routine

Recent changes in udev are causing problems for drivers that load firmware
from the probe routine. As b43legacy has such a structure, it must be changed.
As this driver loads 3 or 4 firmware files, changing to the asynchronous routine
request_firmware_nowait() would be complicated. In this implementation, the probe
routine starts a work queue that calls the firmware loading routines.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/b43legacy.h
drivers/net/wireless/b43legacy/main.c