]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: rtsx_pci_sdmmc: implement sdmmc_card_busy function
authorMatthew Schwartz <matthew.schwartz@linux.dev>
Mon, 29 Dec 2025 20:45:26 +0000 (12:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2026 09:27:38 +0000 (10:27 +0100)
commitbcb72b6a39e908038d16b416e50dad35a8cd3381
tree06bc32f0bae41163c153c51888423d14dc90efef
parent7bff0156d13f0ad9436e5178b979b063d59f572a
mmc: rtsx_pci_sdmmc: implement sdmmc_card_busy function

commit 122610220134b32c742cc056eaf64f7017ac8cd9 upstream.

rtsx_pci_sdmmc does not have an sdmmc_card_busy function, so any voltage
switches cause a kernel warning, "mmc0: cannot verify signal voltage
switch."

Copy the sdmmc_card_busy function from rtsx_pci_usb to rtsx_pci_sdmmc to
fix this.

Fixes: ff984e57d36e ("mmc: Add realtek pcie sdmmc host driver")
Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Tested-by: Ricky WU <ricky_wu@realtek.com>
Reviewed-by: Ricky WU <ricky_wu@realtek.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/rtsx_pci_sdmmc.c