ath9k: owl-loader: fetch pci init values through nvmem
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 13 Sep 2021 12:40:35 +0000 (15:40 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 16 Sep 2021 08:07:41 +0000 (11:07 +0300)
commitef7bc2a7634298b66fcd313dd4bb0e9f4f2e503b
treed9a2678a7b313d72000e59790de5207f7c7cac89
parenteb3a97a69be83ea961bf4a164c54e1c989a57850
ath9k: owl-loader: fetch pci init values through nvmem

extends the owl loader to fetch important pci initialization
values - which are stored together with the calibration data -
through the nvmem subsystem.

This allows for much faster WIFI/ath9k initializations on devices
that do not require to perform any post-processing (like XOR'ing/
reversal or unpacking)... than the current way through the
firmware_request which involves the filesystem/userspace.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/bc79ba1c6f6435000577bf1e5f4d7ebe18a8df97.1630157099.git.chunkeey@gmail.com
drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c