[PATCH 2/2] ath10k: make core registering async

Michal Kazior michal.kazior at tieto.com
Fri May 23 00:09:28 PDT 2014


On 22 May 2014 18:40, Kalle Valo <kvalo at qca.qualcomm.com> wrote:
> Michal Kazior <michal.kazior at tieto.com> writes:
>
>> 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.
>>
>> As a side effect there's no way to propagate
>> registering errors to the pci subsystem but this
>> probably isn't really necessary.
>>
>> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
>
> I see a new sparse warning with this patch:
>
> drivers/net/wireless/ath/ath10k/core.c:956:6: warning: symbol 'ath10k_core_register_work' was not declared. Should it be static?

Yeah. I forgot to add static keyword since I've played a little around
the code ealier. I'll fix it, thanks!


Michał



More information about the ath10k mailing list