diff options
| author | Ulf Hansson <[email protected]> | 2025-06-10 11:16:26 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-06-24 10:43:26 +0000 |
| commit | f9a1a9448f5c12a24c3724a4899e34a22b90e7f1 (patch) | |
| tree | 1a2e4e2ba1d165c6bc062284bba845f574c461b9 /rust/helpers/rcu.c | |
| parent | mmc: rtsx_usb_sdmmc: Convert sd_set_power_mode() into void (diff) | |
| download | kernel-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
