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)
commitb8e13b87b15d2dde8c61ad7de5626d07a9d4da01
treec7355292f5eb1ca314d08778c6112c9857a0e1ff
parent2a0efe6a32ac3792da7a8c94a17fa65541983de7
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