[RFC PATCH 02/10] ath10k: sdio: update to new MMC API for resetting cards
Wolfram Sang
wsa+renesas at sang-engineering.com
Mon Mar 21 04:50:48 PDT 2022
No functional change, only the name and the argument type change to
avoid confusion between resetting a card and a host controller.
Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
---
RFC, please do not apply yet.
drivers/net/wireless/ath/ath10k/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c
index 63e1c2d783c5..b6c9eb0ab9c8 100644
--- a/drivers/net/wireless/ath/ath10k/sdio.c
+++ b/drivers/net/wireless/ath/ath10k/sdio.c
@@ -1633,7 +1633,7 @@ static void ath10k_sdio_hif_power_down(struct ath10k *ar)
return;
}
- ret = mmc_hw_reset(ar_sdio->func->card->host);
+ ret = mmc_card_hw_reset(ar_sdio->func->card);
if (ret)
ath10k_warn(ar, "unable to reset sdio: %d\n", ret);
--
2.30.2
More information about the ath10k
mailing list