brcmfmac: CR4 takes precedence over CM3 in brcmf_chip_enter_download()
authorArend van Spriel <arend@broadcom.com>
Wed, 29 Jan 2014 14:32:24 +0000 (15:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:35:54 +0000 (15:35 -0500)
commit2da5cb297918f4f2321a8e4e8fe25a6b472c69fc
tree4f7a82864c765d5c4c692c3c916c342c9a7d69e1
parent787eb033f9950788f7fc520e8532b85a86d3ca02
brcmfmac: CR4 takes precedence over CM3 in brcmf_chip_enter_download()

In the enter and exit download sequence the chip core info was checked
for presence of CM3 ARM core. If found it would enter download state for
the CM3. However, on devices that have a CM3 and CR4 this is not correct
and the CR4 should be used to enter download state. This patch changes
the ARM core lookup giving CR4 precedence.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/chip.c