Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6e84ab60 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Kalle Valo
Browse files

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: default avatarHelmut Klein <hgkr.klein@gmail.com>
Tested-by: default avatarHelmut Klein <hgkr.klein@gmail.com>
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent ecd7eb7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment