Here is a patch to add DMA support to the MediaTek MMC driver (mtk-sd). I also took the opportunity to clean up the driver a bit by making use of GENMASK() and FIELD_PREP() macros first.
Signed-off-by: David Lechner <[email protected]> --- David Lechner (2): mmc: mtk-sd: use GENMASK and FIELD macros mmc: mtk-sd: fix misaligned brace ht.lin (1): mmc: mediatek: add DMA mode support drivers/mmc/mtk-sd.c | 519 +++++++++++++++++++++++++++++---------------------- 1 file changed, 301 insertions(+), 218 deletions(-) --- base-commit: a334853922a3cd87c70033d02d1367991dc66bc9 change-id: 20260120-mmc-mtk-dma-support-ccf3b5d588ae Best regards, -- David Lechner <[email protected]>

