[PATCH 0/4] mmc: rtsx_usb_sdmmc: Improve sd_set_power_mode()

From: Ulf Hansson
Date: Tue Jun 10 2025 - 07:16:54 EST


The code in sd_set_power_mode() is a bit obfuscated and also has some minor
issue in its error-path. This small series addresses these problems.

Ulf Hansson (4):
mmc: rtsx_usb_sdmmc: Fix error-path in sd_set_power_mode()
mmc: rtsx_usb_sdmmc: Print debug-messages at power-on/off errors
mmc: rtsx_usb_sdmmc: Convert sd_set_power_mode() into void
mmc: rtsx_usb_sdmmc: Re-work the code in sd_set_power_mode()

drivers/mmc/host/rtsx_usb_sdmmc.c | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)

--
2.43.0