[GIT PULL] MMC/MEMSTICK fixes for v7.2-rc4

From: Ulf Hansson

Date: Fri Jul 17 2026 - 08:05:50 EST


Hi Linus,

Here's a pull-request with a bunch of MMC/MEMSTICK fixes intended for v7.2-rc4.
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 8cdeaa50eae8dad34885515f62559ee83e7e8dda:

Linux 7.2-rc2 (2026-07-05 14:44:06 -1000)

are available in the Git repository at:

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

for you to fetch changes up to e27c946b589c53520409a0956b33d52ef7a0898f:

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

----------------------------------------------------------------
MMC core:
- Fix RPMB device unregister ordering
- Fix __counted_by handling in mmc_test

MMC host:
- mtk-sd: Document missing clocks for MT8189
- sdhci-esdhc-imx: Fix the support for system suspend/resume for SDIO
- sdhci-of-dwcmshc: Fix error handling for clock prepare/enable
- vub300: Fix lockdep issue for the cmd_mutex
- vub300: Fix use-after-free on probe failure

MEMSTICK:
- Reject a card that reports too many blocks

----------------------------------------------------------------
Ao Sun (1):
mmc: block: fix RPMB device unregister ordering

Guangshuo Li (1):
mmc: vub300: fix use-after-free on probe failure

Lad Prabhakar (1):
mmc: mmc_test: Fix __counted_by handling after kzalloc_flex() conversion

Louis-Alexis Eyraud (1):
dt-bindings: mmc: mtk-sd: Document extra clocks for MT8189

Luke Wang (8):
mmc: sdhci-esdhc-imx: remove unnecessary mmc_card_wake_sdio_irq check for tuning save/restore
mmc: sdhci-esdhc-imx: restore DLL override for DDR modes on resume
mmc: sdhci-esdhc-imx: fix esdhc_change_pinstate() to allow default state restore
mmc: sdhci-esdhc-imx: restore pinctrl before restoring ios timing on resume
mmc: sdhci-esdhc-imx: disable irq during suspend to fix unhandled interrupt
mmc: sdhci-esdhc-imx: use pm_runtime_resume_and_get() in suspend
mmc: sdhci-esdhc-imx: make non-fatal errors non-blocking in suspend
mmc: sdhci-esdhc-imx: fix resume error handling

Maoyi Xie (1):
memstick: ms_block: reject a card that reports too many blocks

Runyu Xiao (1):
mmc: vub300: defer reset until cmd_mutex is unlocked

Sergey Shtylyov (1):
mmc: sdhci-of-dwcmshc: check bus clock enable result in the probe() method

Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 29 +++++++-
drivers/memstick/core/ms_block.c | 4 +
drivers/mmc/core/block.c | 3 +-
drivers/mmc/core/mmc_test.c | 18 +++--
drivers/mmc/host/sdhci-esdhc-imx.c | 91 +++++++++++++++--------
drivers/mmc/host/sdhci-of-dwcmshc.c | 14 ++--
drivers/mmc/host/vub300.c | 36 ++++++---
7 files changed, 135 insertions(+), 60 deletions(-)