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)
commitf454add47adb4133f297e1b7af07bf07b3983044
tree206e2110a6cce8a02cfee71b5261c823a87d1c65
parenta47aaa69de88913d1640c4bd28c67fad142c61a3
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
This page took 0.024541 seconds and 5 git commands to generate.