linux/drivers/mmc/host
Thomas Fourier ff09b71bf9 mmc: bcm2835: Fix dma_unmap_sg() nents value
The dma_unmap_sg() functions should be called with the same nents as the
dma_map_sg(), not the value the map function returned.

Fixes: 2f5da67835 ("mmc: bcm2835: Properly handle dmaengine_prep_slave_sg")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250630093510.82871-2-fourier.thomas@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2025-07-03 14:16:16 +02:00
..
Kconfig mmc: sdhci-of-k1: add support for SpacemiT K1 SoC 2025-05-19 13:40:06 +02:00
Makefile mmc: sdhci-of-k1: add support for SpacemiT K1 SoC 2025-05-19 13:40:06 +02:00
alcor.c mmc: alcor: Use str_read_write() helper 2025-05-14 16:59:17 +02:00
atmel-mci.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
au1xmmc.c
bcm2835.c mmc: bcm2835: Fix dma_unmap_sg() nents value 2025-07-03 14:16:16 +02:00
cavium-octeon.c
cavium-thunderx.c mmc: cavium-thunderx: Use non-hybrid PCI devres API 2025-05-14 16:59:18 +02:00
cavium.c
cavium.h
cb710-mmc.c
cb710-mmc.h
cqhci-core.c
cqhci-crypto.c
cqhci-crypto.h
cqhci.h
davinci_mmc.c
dw_mmc-bluefield.c
dw_mmc-exynos.c
dw_mmc-exynos.h
dw_mmc-hi3798cv200.c
dw_mmc-hi3798mv200.c
dw_mmc-k3.c
dw_mmc-pci.c
dw_mmc-pltfm.c
dw_mmc-pltfm.h
dw_mmc-rockchip.c
dw_mmc-starfive.c
dw_mmc.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
dw_mmc.h
jz4740_mmc.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
litex_mmc.c
meson-gx-mmc.c
meson-mx-sdhc-clkc.c
meson-mx-sdhc-mmc.c
meson-mx-sdhc.h
meson-mx-sdio.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
mmc_hsq.c
mmc_hsq.h
mmc_spi.c
mmci.c
mmci.h
mmci_qcom_dml.c
mmci_stm32_sdmmc.c
moxart-mmc.c
mtk-sd.c mtk-sd: reset host->mrq on prepare_data() error 2025-06-25 14:42:51 +02:00
mvsdio.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
mvsdio.h
mxcmmc.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
mxs-mmc.c
of_mmc_spi.c
omap.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
omap_hsmmc.c
owl-mmc.c
pxamci.c
pxamci.h
renesas_sdhi.h
renesas_sdhi_core.c mmc: rename mmc_can_gpio_ro() to mmc_host_can_gpio_ro() 2025-05-14 16:59:17 +02:00
renesas_sdhi_internal_dmac.c
renesas_sdhi_sys_dmac.c
rtsx_pci_sdmmc.c
rtsx_usb_sdmmc.c
sdhci-acpi.c
sdhci-bcm-kona.c
sdhci-brcmstb.c
sdhci-cadence.c
sdhci-cqhci.h
sdhci-dove.c
sdhci-esdhc-imx.c mmc: sdhci-esdhc-imx: fix few build warnings 2025-05-19 14:02:48 +02:00
sdhci-esdhc-mcf.c
sdhci-esdhc.h
sdhci-iproc.c
sdhci-milbeaut.c
sdhci-msm.c scsi: soc: qcom: ice: Add HWKM support to the ICE driver 2025-04-11 21:10:30 -04:00
sdhci-npcm.c
sdhci-of-arasan.c
sdhci-of-aspeed-test.c
sdhci-of-aspeed.c
sdhci-of-at91.c
sdhci-of-dwcmshc.c mmc: sdhci-of-dwcmshc: add PD workaround on RK3576 2025-05-14 17:01:42 +02:00
sdhci-of-esdhc.c
sdhci-of-hlwd.c
sdhci-of-k1.c mmc: sdhci-of-k1: Fix error code in probe() 2025-06-09 15:20:01 +02:00
sdhci-of-ma35d1.c
sdhci-of-sparx5.c
sdhci-omap.c mmc: rename mmc_can_gpio_ro() to mmc_host_can_gpio_ro() 2025-05-14 16:59:17 +02:00
sdhci-pci-arasan.c
sdhci-pci-core.c mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models 2025-07-03 13:01:50 +02:00
sdhci-pci-dwc-mshc.c
sdhci-pci-gli.c
sdhci-pci-o2micro.c
sdhci-pci.h
sdhci-pic32.c
sdhci-pltfm.c
sdhci-pltfm.h
sdhci-pxav2.c
sdhci-pxav3.c
sdhci-s3c.c
sdhci-spear.c
sdhci-sprd.c
sdhci-st.c
sdhci-tegra.c
sdhci-uhs2.c mmc: sdhci-uhs2: Adjust some error messages and register dump for SD UHS-II card 2025-06-24 12:38:32 +02:00
sdhci-uhs2.h
sdhci-xenon-phy.c
sdhci-xenon.c
sdhci-xenon.h
sdhci.c Revert "mmc: sdhci: Disable SD card clock before changing parameters" 2025-06-24 14:18:07 +02:00
sdhci.h mmc: sdhci: Add a helper function for dump register in dynamic debug mode 2025-06-24 12:38:10 +02:00
sdhci_am654.c mmc: sdhci_am654: Workaround for Errata i2312 2025-07-03 13:37:34 +02:00
sdhci_f_sdh30.c
sdhci_f_sdh30.h
sdricoh_cs.c
sh_mmcif.c
sunplus-mmc.c mmc: rename mmc_can_gpio_cd() to mmc_host_can_gpio_cd() 2025-05-14 16:59:17 +02:00
sunxi-mmc.c
tifm_sd.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
tmio_mmc.h
tmio_mmc_core.c mmc: rename mmc_can_gpio_ro() to mmc_host_can_gpio_ro() 2025-05-14 16:59:17 +02:00
toshsd.c
toshsd.h
uniphier-sd.c
usdhi6rol0.c
ushc.c
via-sdmmc.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
vub300.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
wbsd.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
wbsd.h
wmt-sdmmc.c