]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: pass cal data location as an argument to ath10k_download_cal_{file|dt}
authorRaja Mani <rmani@qti.qualcomm.com>
Fri, 18 Mar 2016 09:44:21 +0000 (11:44 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 23 Mar 2016 11:42:46 +0000 (13:42 +0200)
commite8e04f2f19f2c1af9870295438204803b124f790
tree206e2110a6cce8a02cfee71b5261c823a87d1c65
parent98210af0eb07e7aba5eb13a0847e6f95bcbbf6b3
ath10k: pass cal data location as an argument to ath10k_download_cal_{file|dt}

Both ath10k_download_cal_file() and ath10k_download_cal_dt() uses
hard coded file pointer (ar->cal_file) and device tree entry
(qcom,ath10k-calibration-data) respectively to get calibration
data content.

There is a need to use those two functions in qca4019 calibration
download sequence with different file pointer and device tree entry name.
Modify those two functions to take cal data location as an argument.
So that it can serve the purpose for other file pointer and device
tree entry.

This is just preparation before adding actual qca4019 calibration
download sequence. No functional changes.

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