summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-04-05 21:33:26 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-04-13 17:06:30 +0300
commit6e84ab604bdedaa16239bd1c6e5fcb5660309f02 (patch)
tree1ce2419b8cfea5cd3a9310467327e59cbf3ed1a9 /drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
parentecd7eb7c2bcf99f6c23d68ad56ce15949da848a1 (diff)
downloadlinux-6e84ab604bdedaa16239bd1c6e5fcb5660309f02.tar.xz
brcmfmac: properly align buffers on certain platforms with 64 bit DMA
Systems with 64 bit DMA at least partially require buffers to be used for DMA to be 8-byte-aligned. One example is Amlogic Meson GX. Switching the MMC/SDIO driver for this platform to SG DMA mode resulted in problems due to unaligned buffers. Fortunately the brcmfmac driver has a global define for the alignment. Changing it to 8 fixed the issues with Meson GX. Suggested-by: Helmut Klein <hgkr.klein@gmail.com> Tested-by: Helmut Klein <hgkr.klein@gmail.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c')
0 files changed, 0 insertions, 0 deletions