Commit 25d086ba authored by Alexis Lothoré's avatar Alexis Lothoré Committed by Kalle Valo
Browse files

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: default avatarAlexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240613-wilc_suspend-v1-3-c2f766d0988c@bootlin.com
parent 301e44e9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)