diff options
author | David S. Miller <davem@davemloft.net> | 2018-01-18 16:23:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-18 16:23:10 -0500 |
commit | 9d383fbb04c64623daf936f33ba03972f0a46311 (patch) | |
tree | cd266f9f9fd84f367a20c03f55bbce110f48f744 | |
parent | b200bfd6112a87283e58bcfcc4cb57a5517ae82f (diff) | |
parent | cc124d5cc8d81985c3511892d7a6d546552ff754 (diff) |
Merge tag 'wireless-drivers-for-davem-2018-01-17' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
Kalle Valo says:
====================
wireless-drivers fixes for 4.15
One last set of fixes for regression submitted during the last few days.
bcma & ssb
* fix older build problems which (apparently) recently became more
frequent in certain MIPS configurations
brcmfmac
* continue driver initialisation even if CLM blob (firmware) file is
not found
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/bcma/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 9 | ||||
-rw-r--r-- | drivers/ssb/Kconfig | 2 |
3 files changed, 5 insertions, 8 deletions
diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig index 02d78f6cecbb..ba8acca036df 100644 --- a/drivers/bcma/Kconfig +++ b/drivers/bcma/Kconfig | |||
@@ -55,7 +55,7 @@ config BCMA_DRIVER_PCI | |||
55 | 55 | ||
56 | config BCMA_DRIVER_PCI_HOSTMODE | 56 | config BCMA_DRIVER_PCI_HOSTMODE |
57 | bool "Driver for PCI core working in hostmode" | 57 | bool "Driver for PCI core working in hostmode" |
58 | depends on MIPS && BCMA_DRIVER_PCI | 58 | depends on MIPS && BCMA_DRIVER_PCI && PCI_DRIVERS_LEGACY |
59 | help | 59 | help |
60 | PCI core hostmode operation (external PCI bus). | 60 | PCI core hostmode operation (external PCI bus). |
61 | 61 | ||
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c index 6a59d0609d30..9be0b051066a 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | |||
@@ -182,12 +182,9 @@ static int brcmf_c_process_clm_blob(struct brcmf_if *ifp) | |||
182 | 182 | ||
183 | err = request_firmware(&clm, clm_name, dev); | 183 | err = request_firmware(&clm, clm_name, dev); |
184 | if (err) { | 184 | if (err) { |
185 | if (err == -ENOENT) { | 185 | brcmf_info("no clm_blob available(err=%d), device may have limited channels available\n", |
186 | brcmf_dbg(INFO, "continue with CLM data currently present in firmware\n"); | 186 | err); |
187 | return 0; | 187 | return 0; |
188 | } | ||
189 | brcmf_err("request CLM blob file failed (%d)\n", err); | ||
190 | return err; | ||
191 | } | 188 | } |
192 | 189 | ||
193 | chunk_buf = kzalloc(sizeof(*chunk_buf) + MAX_CHUNK_LEN - 1, GFP_KERNEL); | 190 | chunk_buf = kzalloc(sizeof(*chunk_buf) + MAX_CHUNK_LEN - 1, GFP_KERNEL); |
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig index d8e4219c2324..71c73766ee22 100644 --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig | |||
@@ -32,7 +32,7 @@ config SSB_BLOCKIO | |||
32 | 32 | ||
33 | config SSB_PCIHOST_POSSIBLE | 33 | config SSB_PCIHOST_POSSIBLE |
34 | bool | 34 | bool |
35 | depends on SSB && (PCI = y || PCI = SSB) | 35 | depends on SSB && (PCI = y || PCI = SSB) && PCI_DRIVERS_LEGACY |
36 | default y | 36 | default y |
37 | 37 | ||
38 | config SSB_PCIHOST | 38 | config SSB_PCIHOST |