diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2025-06-10 13:16:23 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-06-24 12:43:26 +0200 |
commit | 47a255f7d2eabee06cfbf5b1c2379749442fd01d (patch) | |
tree | e3c95d662f02d3fa2736a0a2c7da9099445e227e /scripts/extract-fwblobs | |
parent | 30fa7d53afd405fdac68b629f4ed8d14fe37b550 (diff) |
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 <avri.altman@sandisk.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Ricky Wu <ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/20250610111633.504366-2-ulf.hansson@linaro.org
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions