brcmfmac: defer DPC processing during probe
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Fri, 15 Jul 2016 10:39:13 +0000 (12:39 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 18 Jul 2016 19:41:48 +0000 (22:41 +0300)
commitfd3ed33f51c2a586412d35b4f64803f019ab589f
treec9766c06c406e14de8c9481214af343cf4d869af
parent82bc9ab6a8f577d2174a736c33f3d4ecf7d9ef47
brcmfmac: defer DPC processing during probe

The sdio dpc starts processing when in SDIOD_STATE_DATA. This state was
entered right after firmware download. This patch moves that transition
just before enabling sdio interrupt handling thus avoiding watchdog
expiry which would put the bus to sleep while probing.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c