ath10k: fix reading sram contents for QCA4019
authorAshok Raj Nagarajan <arnagara@qti.qualcomm.com>
Tue, 31 Jan 2017 18:36:51 +0000 (00:06 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 7 Feb 2017 08:57:49 +0000 (10:57 +0200)
commit7f622593cc5add77a99cd39404e8a851be9de792
tree3f55b05c53580b7ea64931d7d3f935a168654f92
parentcb4281528b62207918b1e95827cad7527aa4dbaa
ath10k: fix reading sram contents for QCA4019

With QCA4019 platform, SRAM address can be accessed directly from host but
currently, we are assuming sram addresses cannot be accessed directly and
hence we convert the addresses.

While there, clean up growing hw checks during conversion of target CPU
address to CE address. Now we have function pointer pertaining to different
chips.

Signed-off-by: Ashok Raj Nagarajan <arnagara@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ahb.c
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/pci.h