]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: make core registering async
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 23 May 2014 10:28:47 +0000 (12:28 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 26 May 2014 09:44:44 +0000 (12:44 +0300)
commit4d6506138e832b821c1182ef42de2dfc03d4966b
tree9295c4c3cc9ed648adf9f0ee1147aeb1bc784076
parentc858591cf3b600d8a4cc33752be033bf0e08b2e7
ath10k: make core registering async

If ath10k was built into the kernel it could stall
booting for 120 seconds by default (60 seconds for
each firmware API variant) waiting for firmware
files before userspace was ready or filesystems
mounted.

Fix this by making the core registering
asynchronous.

This also shoves off about 1 second from boot time
on most systems since the driver is now mostly
initialized in a worker and modprobe takes very
little time to complete.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h