]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0e12b0135c71c2f5838b4d20e37c6fc249e6a44
tree4f7a82864c765d5c4c692c3c916c342c9a7d69e1
parent7d32bbba0b5a53a286412ba5e5ab0c643faab4b0
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