[GIT PULL] MMC fixes for v7.2-rc8

From: Ulf Hansson

Date: Fri Aug 14 2026 - 10:21:20 EST


Hi Linus,

Here's a pull-request with a couple of MMC fixes intended for v7.2-rc8.
Details about the highlights are as usual found in the signed tag.

Please pull this in!

Kind regards
Ulf Hansson


The following changes since commit e27c946b589c53520409a0956b33d52ef7a0898f:

mmc: sdhci-esdhc-imx: fix resume error handling (2026-07-15 11:00:02 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v7.2-rc2-2

for you to fetch changes up to 00179ed9fbe07799676e2cb63c4e7f0e7cd80a5c:

mmc: loongson2: Fix sg iteration in data reorder functions (2026-08-04 15:39:11 +0200)

----------------------------------------------------------------
MMC host:
- atmel-mci: Fix use-after-free in atmci_remove due to race condition
- loongson2: Fix sg iteration in data reorder functions
- omap_hsmmc: Fix busy_timeout overflow in ns conversion on 32-bit
- sdhci: Make tuning_err a signed int
- sdhci: Unmap the bounce buffer before device release

----------------------------------------------------------------
Binbin Zhou (1):
mmc: loongson2: Fix sg iteration in data reorder functions

Haibo Chen (1):
mmc: sdhci: make tuning_err a signed int

Myeonghun Pak (1):
mmc: sdhci: unmap the bounce buffer before device release

Pei Xiao (1):
mmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition

Zhan Xusheng (1):
mmc: omap_hsmmc: fix busy_timeout overflow in ns conversion on 32-bit

drivers/mmc/host/atmel-mci.c | 2 ++
drivers/mmc/host/loongson2-mmc.c | 8 ++++----
drivers/mmc/host/omap_hsmmc.c | 2 +-
drivers/mmc/host/sdhci.c | 16 ++++++++++++++++
drivers/mmc/host/sdhci.h | 2 +-
5 files changed, 24 insertions(+), 6 deletions(-)