mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
[ Upstream commite74f562328
] It makes no sense to set MMC_PM_KEEP_POWER in shutdown. The flag indicates to the MMC subsystem to keep the slot powered on during suspend, but in shutdown the slot should actually be powered off. Drop this call. Fixes:063848c3e1
("rsi: sdio: Add WOWLAN support for S5 shutdown state") Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230527222859.273768-1-marex@denx.de Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
eb205a0690
commit
77f09d836b
1 changed files with 0 additions and 3 deletions
|
@ -1479,9 +1479,6 @@ static void rsi_shutdown(struct device *dev)
|
||||||
if (sdev->write_fail)
|
if (sdev->write_fail)
|
||||||
rsi_dbg(INFO_ZONE, "###### Device is not ready #######\n");
|
rsi_dbg(INFO_ZONE, "###### Device is not ready #######\n");
|
||||||
|
|
||||||
if (rsi_set_sdio_pm_caps(adapter))
|
|
||||||
rsi_dbg(INFO_ZONE, "Setting power management caps failed\n");
|
|
||||||
|
|
||||||
rsi_dbg(INFO_ZONE, "***** RSI module shut down *****\n");
|
rsi_dbg(INFO_ZONE, "***** RSI module shut down *****\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue