ath9k: use iowrite32 over __raw_writel
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 24 Nov 2019 14:40:59 +0000 (15:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2020 18:48:28 +0000 (19:48 +0100)
commit233fe5963d4ac82ea8b6435c5c9a3b2b3879f890
tree5a1b31ee76b41cc6e888bd90d28d8b2954a401a3
parent6e584d52f196c62134dd316becc54d878828394a
ath9k: use iowrite32 over __raw_writel

commit 22d0d5ae7a089967e9295a06694aa3e8a812b15e upstream.

This patch changes the ath9k_pci_owl_loader to use the
same iowrite32 memory accessor that ath9k_pci is using
to communicate with the PCI(e) chip.

This will fix endian issues that came up during testing
with loaned AVM Fritz!Box 7360 (Lantiq MIPS SoCs + AR9287).

Fixes: 5a4f2040fd07 ("ath9k: add loader for AR92XX (and older) pci(e)")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c