]> git.baikalelectronics.ru Git - kernel.git/commit
b43: Load firmware from a work queue and not from the probe routine
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 9 Mar 2012 04:27:46 +0000 (22:27 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Mar 2012 18:54:16 +0000 (14:54 -0400)
commit061833a5daae68667fc63a3256ca9b82541a2069
tree71f845d127ec1ff121b8a336ead86c6a6ac1c1bb
parent8f0bab69c278c876c9f5ee741095b026eab9ae95
b43: Load firmware from a work queue and not from the probe routine

Recent changes in udev are causing problems for drivers that load firmware
from the probe routine. As b43 has such a structure, it must be changed.
As this driver loads more than 1 firmware file, changing to the asynchronous routine
request_firmware_nowait() would be complicated. In this implementation, the probe
routine starts a 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/b43/b43.h
drivers/net/wireless/b43/main.c