]> git.baikalelectronics.ru Git - kernel.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)
commita21ca13edf0a686e7050b416762c542e5d2791d8
tree61c28cbc5a3dc3a93bd857155c58c0baa76578d9
parent125a9dfcdf45da32e11178df16dd2ef92b42ce04
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