commit | eef254051f3c7675e3ac4df23f8ccf7b210c39c5 | [log] [tgz] |
---|---|---|
author | Kalle Valo <kvalo@qca.qualcomm.com> | Wed Sep 24 14:16:52 2014 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Fri Sep 26 13:35:36 2014 +0300 |
tree | e7e3f6b235aabd597ccdc6dde605a82fb3498ac6 | |
parent | d5d6805bf90f420abbaac30037d5fef6b7c05096 [diff] |
ath10k: add diag_read() to hif ops diag_read() is used for reading from firmware memory via the diagnose window. First user will be cal_data debugfs file. To serialise diagnostic window access and make it safe to use while firmware is running take ce_lock both in ath10k_pci_diag_write_mem() and ath10k_pci_diag_read_mem(). Because of that all the CE calls had to be changed to _nolock variants. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>