brcmfmac: Use separate firmware for revision 0 of the brcm43430 chip
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Jun 2017 13:14:49 +0000 (15:14 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 21 Jun 2017 15:20:57 +0000 (18:20 +0300)
commit1278bd149839f2281db45a910082ba143546a148
tree66f5b1ad579e3aab0ad1705c46d99dfd7572b4fb
parentc48c281e7236fc8769dd62e6b13ba090a546027d
brcmfmac: Use separate firmware for revision 0 of the brcm43430 chip

The brcm43430 chip needs different firmware files for chip revision 0
and 1. The file currently in linux-firmware is for revision 1 only.

This commit makes brcmfmac request brcmfmac43430a0-sdio.bin instead
of brcmfmac43430-sdio.bin for revision 0 chips.

Note that the behavior for revision 1 chips is not changed, ideally those
would load brcmfmac43430a1-sdio.bin, but that will break existing setups.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c