]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: moxart-mmc: Factor out moxart_use_dma() helper
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 27 Jan 2024 00:19:49 +0000 (01:19 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 13 Feb 2024 12:40:55 +0000 (13:40 +0100)
commitbc169ad24308ff3304966af10bea2df9219a0189
treec1d37cddb8e6cafcd337b01e9408eaf6f43c47c8
parented01d210fd910f7fa7933638df14ffb8d4aac2a9
mmc: moxart-mmc: Factor out moxart_use_dma() helper

The same code is in two places and we will add a third place.
Break this out into its own function.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240127-mmc-proper-kmap-v2-2-d8e732aa97d1@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/moxart-mmc.c