]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: configure OTP HW vectors in SW reset flow
authorMaya Erez <merez@codeaurora.org>
Sun, 21 Jan 2018 09:14:40 +0000 (11:14 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Jan 2018 05:32:15 +0000 (07:32 +0200)
commitee7f9ebde2150dffe45570e39ac6395a828fd7a2
treec7355292f5eb1ca314d08778c6112c9857a0e1ff
parentd884fe936969eec605d2f651ebc5b3fc049c557e
wil6210: configure OTP HW vectors in SW reset flow

OTP HW vectors values are different for 40MHz and 330MHz AHB
clocks.
In SW reset flow, the host driver sets the clock frequency
to 40MHz. In order to allow reading from the OTP, the host
driver should configure the OTP HW vectors with the values
that fits this clock frequency.

Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/wil6210.h