]> www.infradead.org Git - users/willy/xarray.git/commit
mmc: mtk-sd: Aggregate R/W for top_base iospace case where possible
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 25 Mar 2025 11:07:01 +0000 (12:07 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:16 +0000 (16:59 +0200)
commitb70721fd845d7be455fe2a6036b1afa660180a3b
treed0ad70b4e308e6cfcbed0bccfbf3c133c31530fc
parent1649904e84aaa5c62584d0e3d5b29b221fc89558
mmc: mtk-sd: Aggregate R/W for top_base iospace case where possible

In case the controller uses the top_base iospace, most register
read/writes can be changed from multiple RWs to a single read
and a single write.

Where possible, and where it makes sense, aggregate the multiple
reads and writes to just one.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250325110701.52623-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c