]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitecae1f8a814c9789b1c0e9ccad9d6bb2b6d3118a
tree0fcb62d8442b412ccee15d3f05e5cb5d89299750
parent9b80d43693593659b337a8bd26c620034b458282
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