aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c b/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
index cef9abb40a58..f6b1822031fe 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
@@ -474,8 +474,6 @@ static void
474brcmf_sdio_chip_buscoresetup(struct brcmf_sdio_dev *sdiodev, 474brcmf_sdio_chip_buscoresetup(struct brcmf_sdio_dev *sdiodev,
475 struct chip_info *ci) 475 struct chip_info *ci)
476{ 476{
477 u32 regdata;
478
479 /* get chipcommon rev */ 477 /* get chipcommon rev */
480 ci->c_inf[0].rev = ci->corerev(sdiodev, ci, ci->c_inf[0].id); 478 ci->c_inf[0].rev = ci->corerev(sdiodev, ci, ci->c_inf[0].id);
481 479
@@ -492,9 +490,6 @@ brcmf_sdio_chip_buscoresetup(struct brcmf_sdio_dev *sdiodev,
492 } 490 }
493 491
494 ci->c_inf[1].rev = ci->corerev(sdiodev, ci, ci->c_inf[1].id); 492 ci->c_inf[1].rev = ci->corerev(sdiodev, ci, ci->c_inf[1].id);
495 regdata = brcmf_sdcard_reg_read(sdiodev,
496 CORE_SB(ci->c_inf[1].base, sbidhigh), 4);
497 ci->c_inf[1].id = (regdata & SSB_IDHIGH_CC) >> SSB_IDHIGH_CC_SHIFT;
498 493
499 brcmf_dbg(INFO, "ccrev=%d, pmurev=%d, buscore rev/type=%d/0x%x\n", 494 brcmf_dbg(INFO, "ccrev=%d, pmurev=%d, buscore rev/type=%d/0x%x\n",
500 ci->c_inf[0].rev, ci->pmurev, 495 ci->c_inf[0].rev, ci->pmurev,