diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-01-26 19:57:02 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-02-06 14:52:47 +0300 |
commit | 44977b81823f4801d45d61fb9b278b4483923ae1 (patch) | |
tree | 7f36a61e8c86070b388b39ef8ebcc7c7617ea3ff /drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | |
parent | a4f4abd037c1f8c6a834c95a46a2514d4b350888 (diff) | |
download | linux-44977b81823f4801d45d61fb9b278b4483923ae1.tar.xz |
brcmfmac: allow storing PMU core without wrapper address
Separated PMU core can be found in new devices and should be used for
accessing PMU registers (which were routed through ChipCommon so far).
This core is one of exceptions that doesn't have or need wrapper address
to be still safely accessible.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c index e434e2a52098..55952d43dfb5 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c @@ -883,7 +883,8 @@ int brcmf_chip_dmp_erom_scan(struct brcmf_chip_priv *ci) rev = (val & DMP_COMP_REVISION) >> DMP_COMP_REVISION_S; /* need core with ports */ - if (nmw + nsw == 0) + if (nmw + nsw == 0 && + id != BCMA_CORE_PMU) continue; /* try to obtain register address info */ |