Messages in this thread Patch in this message | | | From | Wolfram Sang <> | Subject | [RFC PATCH 05/10] wlcore: sdio: update to new MMC API for resetting cards | Date | Mon, 21 Mar 2022 12:50:51 +0100 |
| |
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@sang-engineering.com> ---
RFC, please do not apply yet.
drivers/net/wireless/ti/wlcore/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/sdio.c index 72fc41ac83c0..62246a98bbc9 100644 --- a/drivers/net/wireless/ti/wlcore/sdio.c +++ b/drivers/net/wireless/ti/wlcore/sdio.c @@ -146,7 +146,7 @@ static int wl12xx_sdio_power_on(struct wl12xx_sdio_glue *glue) * To guarantee that the SDIO card is power cycled, as required to make * the FW programming to succeed, let's do a brute force HW reset. */ - mmc_hw_reset(card->host); + mmc_card_hw_reset(card); sdio_enable_func(func); sdio_release_host(func); -- 2.30.2
| |