]> 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)
commit06b535e7c9e5c7808ca20af66b3ced57b29bf772
tree4f7a82864c765d5c4c692c3c916c342c9a7d69e1
parenta53fce42548737b0444d32a7de41f5a914856fee
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