From: Kalle Valo Date: Wed, 24 Sep 2014 11:16:52 +0000 (+0300) Subject: ath10k: add diag_read() to hif ops X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~71^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eef254051f3c7675e3ac4df23f8ccf7b210c39c5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed