brcmfmac: fix SDIO access for big-endian host
authorRemi Depommier <rde@setrix.com>
Tue, 20 Oct 2020 17:46:39 +0000 (13:46 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 15:49:20 +0000 (17:49 +0200)
commitd56fd83cf99c5e4b257f5be46531420509ba5066
tree0fcb62d8442b412ccee15d3f05e5cb5d89299750
parent6ac6546973013b4b368cd3d3515f1e853658b6ce
brcmfmac: fix SDIO access for big-endian host

These full-mac chips use little-endian byte ordering. This patch
adds a few missing conversions to/from little-endian so that the
driver may be used with a big-endian host.

Signed-off-by: Remi Depommier <rde@setrix.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201020174639.28892-1-rde@setrix.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c