]> 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)
commitdbf78c202097603fea838e7ecdfb1ca5e4b7b2e1
tree9295c4c3cc9ed648adf9f0ee1147aeb1bc784076
parent92d3a070c4426e2219607a87bf6a4d27d6fc6533
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