mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
wifi: wilc1000: do not keep sdio bus claimed during suspend/resume
There is no reason to keep the MMC host claimed during suspend. Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240613-wilc_suspend-v1-3-c2f766d0988c@bootlin.com
This commit is contained in:
parent
301e44e973
commit
25d086ba19
|
|
@ -269,7 +269,6 @@ static int wilc_sdio_suspend(struct device *dev)
|
|||
dev_err(&func->dev, "Fail reset sdio\n");
|
||||
return ret;
|
||||
}
|
||||
sdio_claim_host(func);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -1000,7 +999,6 @@ static int wilc_sdio_resume(struct device *dev)
|
|||
struct wilc *wilc = sdio_get_drvdata(func);
|
||||
|
||||
dev_info(dev, "sdio resume\n");
|
||||
sdio_release_host(func);
|
||||
wilc_sdio_init(wilc, true);
|
||||
|
||||
if (wilc->suspend_event)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user