summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/microchip/wilc1000
diff options
context:
space:
mode:
authorAlexis Lothoré <alexis.lothore@bootlin.com>2024-06-13 16:06:42 +0200
committerKalle Valo <kvalo@kernel.org>2024-06-18 13:23:15 +0300
commit25d086ba196418a16b6328440226065aeefc6076 (patch)
tree358d15f4f4e60a574b0b8882c24fbd980d7fcd02 /drivers/net/wireless/microchip/wilc1000
parent301e44e973ebb28d31a97441846dfa9fef6aa62b (diff)
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
Diffstat (limited to 'drivers/net/wireless/microchip/wilc1000')
-rw-r--r--drivers/net/wireless/microchip/wilc1000/sdio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/microchip/wilc1000/sdio.c b/drivers/net/wireless/microchip/wilc1000/sdio.c
index 4e478a2cd4cc..fb4de3de1140 100644
--- a/drivers/net/wireless/microchip/wilc1000/sdio.c
+++ b/drivers/net/wireless/microchip/wilc1000/sdio.c
@@ -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)