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:
Alexis Lothoré 2024-06-13 16:06:42 +02:00 committed by Kalle Valo
parent 301e44e973
commit 25d086ba19

View File

@ -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)