diff options
| author | Ulf Hansson <[email protected]> | 2025-06-10 11:16:23 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-06-24 10:43:26 +0000 |
| commit | 47a255f7d2eabee06cfbf5b1c2379749442fd01d (patch) | |
| tree | e3c95d662f02d3fa2736a0a2c7da9099445e227e /rust/helpers/pci.c | |
| parent | mmc: host: renesas_sdhi: Fix incorrect auto retuning for an SDIO card (diff) | |
| download | kernel-47a255f7d2eabee06cfbf5b1c2379749442fd01d.tar.gz kernel-47a255f7d2eabee06cfbf5b1c2379749442fd01d.zip | |
mmc: rtsx_usb_sdmmc: Fix error-path in sd_set_power_mode()
In the error path of sd_set_power_mode() we don't update host->power_mode,
which could lead to an imbalance of the runtime PM usage count. Fix this by
always updating host->power_mode.
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/pci.c')
0 files changed, 0 insertions, 0 deletions
