1234567891011121314151617181920212223242526272829303132 |
- From c900072bd6faff089aa4fb7b19136a2a0fe3baf0 Mon Sep 17 00:00:00 2001
- From: Ian Molton <[email protected]>
- Date: Fri, 8 Dec 2017 13:10:32 +0100
- Subject: [PATCH] brcmfmac: remove unnecessary call to
- brcmf_sdiod_set_backplane_window()
- All functions that might require the window address changing call
- brcmf_sdiod_set_backplane_window() prior to access. Thus resetting
- the window is not required.
- Signed-off-by: Ian Molton <[email protected]>
- [arend: corrected the driver prefix in the subject]
- Signed-off-by: Arend van Spriel <[email protected]>
- Signed-off-by: Kalle Valo <[email protected]>
- ---
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 5 -----
- 1 file changed, 5 deletions(-)
- --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
- +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
- @@ -723,11 +723,6 @@ brcmf_sdiod_ramrw(struct brcmf_sdio_dev
-
- dev_kfree_skb(pkt);
-
- - /* Return the window to backplane enumeration space for core access */
- - if (brcmf_sdiod_set_backplane_window(sdiodev, sdiodev->sbwad))
- - brcmf_err("FAILED to set window back to 0x%x\n",
- - sdiodev->sbwad);
- -
- sdio_release_host(sdiodev->func[1]);
-
- return err;
|