brcmfmac: drop duplicated core selection from brcmf_pcie_attach
authorRafał Miłecki <rafal@milecki.pl>
Thu, 19 Jan 2017 09:51:25 +0000 (10:51 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 28 Jan 2017 06:34:40 +0000 (08:34 +0200)
It was left after reworking PCIe reset in commit 07fe2e38c7fd
("brcmfmac: Reset PCIE devices after recognition.").

Cc: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c

index 19db8f26729a7e600194731b603a6573fe86f2d3..6fae4cf3f6ab2876eb6ae2c3b5b07d02bcb0d3ca 100644 (file)
@@ -601,7 +601,6 @@ static void brcmf_pcie_attach(struct brcmf_pciedev_info *devinfo)
 {
        u32 config;
 
-       brcmf_pcie_select_core(devinfo, BCMA_CORE_PCIE2);
        /* BAR1 window may not be sized properly */
        brcmf_pcie_select_core(devinfo, BCMA_CORE_PCIE2);
        brcmf_pcie_write_reg32(devinfo, BRCMF_PCIE_PCIE2REG_CONFIGADDR, 0x4e0);