aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/rcu.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2025-06-10 11:16:26 +0000
committerUlf Hansson <[email protected]>2025-06-24 10:43:26 +0000
commitf9a1a9448f5c12a24c3724a4899e34a22b90e7f1 (patch)
tree1a2e4e2ba1d165c6bc062284bba845f574c461b9 /rust/helpers/rcu.c
parentmmc: rtsx_usb_sdmmc: Convert sd_set_power_mode() into void (diff)
downloadkernel-f9a1a9448f5c12a24c3724a4899e34a22b90e7f1.tar.gz
kernel-f9a1a9448f5c12a24c3724a4899e34a22b90e7f1.zip
mmc: rtsx_usb_sdmmc: Re-work the code in sd_set_power_mode()
It's only at MMC_POWER_OFF and at MMC_POWER_UP when some operations must be carried out in sd_set_power_mode(). The code is a bit obfuscated in this regards. Let's convert it into a switch-case-clause to make this clear. Reviewed-by: Avri Altman <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Acked-by: Ricky Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions