linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-4.12 0/3] brcmfmac: fix sdio suspend crash due to firmware load failure
@ 2017-06-12 11:47 Arend van Spriel
  2017-06-12 11:47 ` [PATCH for-4.12 1/3] brcmfmac: add parameter to pass error code in firmware callback Arend van Spriel
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Arend van Spriel @ 2017-06-12 11:47 UTC (permalink / raw)
  To: Kalle Valo; +Cc: linux-wireless, Arend van Spriel

These three patches fix a reported issue that results in a crash
for sdio devices, because when the probe fails due to firmware load
failure or other reasons, the driver does not unbind all devices but
frees all resources. This causes a null-deref upon resuming from
system suspend. The solution has been split up.

This patch series is intended for 4.12 and applies to the master
branch of the wireless-drivers repository.

Arend van Spriel (3):
  brcmfmac: add parameter to pass error code in firmware callback
  brcmfmac: use firmware callback upon failure to load
  brcmfmac: unbind all devices upon failure in firmware callback

 .../broadcom/brcm80211/brcmfmac/firmware.c         | 35 +++++++++++-----------
 .../broadcom/brcm80211/brcmfmac/firmware.h         |  4 +--
 .../wireless/broadcom/brcm80211/brcmfmac/pcie.c    | 17 +++++++----
 .../wireless/broadcom/brcm80211/brcmfmac/sdio.c    | 18 +++++++----
 .../net/wireless/broadcom/brcm80211/brcmfmac/usb.c |  6 ++--
 5 files changed, 47 insertions(+), 33 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-06-15 16:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 11:47 [PATCH for-4.12 0/3] brcmfmac: fix sdio suspend crash due to firmware load failure Arend van Spriel
2017-06-12 11:47 ` [PATCH for-4.12 1/3] brcmfmac: add parameter to pass error code in firmware callback Arend van Spriel
2017-06-15 16:08   ` [for-4.12, " Kalle Valo
2017-06-15 16:17   ` [PATCH for-4.12 " Kalle Valo
2017-06-12 11:47 ` [PATCH for-4.12 2/3] brcmfmac: use firmware callback upon failure to load Arend van Spriel
2017-06-12 11:47 ` [PATCH for-4.12 3/3] brcmfmac: unbind all devices upon failure in firmware callback Arend van Spriel
2017-06-13  6:12   ` [for-4.12, " Kalle Valo
     [not found]   ` <20170613061235.D11C6607CC@smtp.codeaurora.org>
2017-06-13 11:36     ` Arend van Spriel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).