brcmfmac: allow storing PMU core without wrapper address
authorRafał Miłecki <zajec5@gmail.com>
Tue, 26 Jan 2016 16:57:02 +0000 (17:57 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 6 Feb 2016 11:52:47 +0000 (13:52 +0200)
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>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c

index e434e2a5209855a5a38bd71a6e1c1accf9d67b0f..55952d43dfb59b8061ffd168311b757ada61c08f 100644 (file)
@@ -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 */
This page took 0.026213 seconds and 5 git commands to generate.