]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: add ATH10K_FW_FEATURE_IGNORE_OTP_RESULT
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 28 Apr 2015 17:19:30 +0000 (20:19 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 4 May 2015 17:48:59 +0000 (20:48 +0300)
commitd915354675a3baae834c9aae845bbb7a0fcd453d
treee784fb1e5f54add30156d602469255d0feea23d8
parent137ce6104ffec1a86c8c14daf1cca15f8ef29d2c
ath10k: add ATH10K_FW_FEATURE_IGNORE_OTP_RESULT

qca6174 otp binary seems to always return an error to the host, even if the
calibration succeeded. Add a firmware feature flag to detect if the firmware
image which have this problem and workaround the issue in ath10k by ignoring
the error code.

I was also considering making this hw specific flag but as this is strictly a
firmware issue it's best to handle this via a firmware feature flag so that it
will be easy to disable the workaround.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h