diff options
author | Hauke Mehrtens | 2013-08-24 00:32:31 +0200 |
---|---|---|
committer | John W. Linville | 2013-08-26 20:09:03 +0200 |
commit | aa51e598d04c6acf5477934cd6383f5a17ce9029 (patch) | |
tree | 50499782c11162826cb498d2761148fe3a4b4791 /drivers/net/wireless/brcm80211/brcmsmac/aiutils.c | |
parent | bcma: add method to power up and down the PCIe core by wifi driver (diff) | |
download | kernel-qcow2-linux-aa51e598d04c6acf5477934cd6383f5a17ce9029.tar.gz kernel-qcow2-linux-aa51e598d04c6acf5477934cd6383f5a17ce9029.tar.xz kernel-qcow2-linux-aa51e598d04c6acf5477934cd6383f5a17ce9029.zip |
brcmsmac: use bcma PCIe up and down functions
replace the calls to bcma_core_pci_extend_L1timer() by calls to the
newly introduced bcma_core_pci_ip() and bcma_core_pci_down()
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/aiutils.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/aiutils.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c index e4fd1ee3d690..53365977bfd6 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c @@ -679,27 +679,6 @@ bool ai_clkctl_cc(struct si_pub *sih, enum bcma_clkmode mode) return mode == BCMA_CLKMODE_FAST; } -void ai_pci_up(struct si_pub *sih) -{ - struct si_info *sii; - - sii = container_of(sih, struct si_info, pub); - - if (sii->icbus->hosttype == BCMA_HOSTTYPE_PCI) - bcma_core_pci_extend_L1timer(&sii->icbus->drv_pci[0], true); -} - -/* Unconfigure and/or apply various WARs when going down */ -void ai_pci_down(struct si_pub *sih) -{ - struct si_info *sii; - - sii = container_of(sih, struct si_info, pub); - - if (sii->icbus->hosttype == BCMA_HOSTTYPE_PCI) - bcma_core_pci_extend_L1timer(&sii->icbus->drv_pci[0], false); -} - /* Enable BT-COEX & Ex-PA for 4313 */ void ai_epa_4313war(struct si_pub *sih) { |