]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mt76: Get rid of dma_sync_single_for_device() for MMIO devices
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 25 Jun 2025 17:40:30 +0000 (19:40 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 7 Jul 2025 16:05:09 +0000 (18:05 +0200)
commit1298de13d12841f054277151d8ffa7786abd2645
treeb45e14cc3a455e727a64cd2e9d3e96589e08822f
parent344dd6a4c91960d9640ab15770efd18526ac3fa3
wifi: mt76: Get rid of dma_sync_single_for_device() for MMIO devices

Since the page_pool for MT76 MMIO devices are created with
PP_FLAG_DMA_SYNC_DEV flag, we do not need to sync_for_device each page
received from the pool since it is already done by the page_pool
codebase.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250625-mt76-sync-for-device-v1-1-e687e3278e1a@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/dma.c
drivers/net/wireless/mediatek/mt76/wed.c