Message ID | 20220321115059.21803-4-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mmc: improve API to make clear {h|s}w_reset is for cards | expand |
On 3/21/2022 12:50 PM, Wolfram Sang wrote: > No functional change, only the name and the argument type change to > avoid confusion between resetting a card and a host controller. No comments for the driver side change presented here. Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> > --- > > RFC, please do not apply yet. > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c index 8effeb7a7269..df5b36217a0d 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c @@ -4165,7 +4165,7 @@ static int brcmf_sdio_bus_reset(struct device *dev) /* reset the adapter */ sdio_claim_host(sdiodev->func1); - mmc_hw_reset(sdiodev->func1->card->host); + mmc_card_hw_reset(sdiodev->func1->card); sdio_release_host(sdiodev->func1); brcmf_bus_change_state(sdiodev->bus_if, BRCMF_BUS_DOWN);
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/broadcom/brcm80211/brcmfmac/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)