OSDN Git Service

ath10k: use ath10k_pci_soc_ functions for all warm_reset instances
authorTomislav Požega <pozega.tomislav@gmail.com>
Sun, 28 Jul 2019 09:11:58 +0000 (11:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Sep 2019 14:09:48 +0000 (17:09 +0300)
commit9c44bf4c12550f1c3c1be0671e559477e70ab350
tree74d250d925e41bff6fc476d9c4a3bf144c90f572
parent7921ae0919078292bfa88adb812ad7cfb621f977
ath10k: use ath10k_pci_soc_ functions for all warm_reset instances

Use ath10k_pci_soc_read32 / ath10k_pci_soc_write32 functions for
the rest of warm_reset functions. Until now these have been used
only for ath10k_pci_warm_reset_si0, but since they already exist
it makes sense to simplify code a bit.
Runtime tested with QCA9862.

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/pci.c