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