MLK-22364 brcmfmac: double check the D3 ACK state when wait event timeout
authorFugang Duan <fugang.duan@nxp.com>
Tue, 6 Aug 2019 06:04:58 +0000 (14:04 +0800)
committerFugang Duan <fugang.duan@nxp.com>
Tue, 6 Aug 2019 09:29:46 +0000 (17:29 +0800)
commit19e9906a5f9975ebf1830a8e23d8427de056a554
tree1a79faa4c232cad90265efe33905ceba6c7ccea9
parenta38343ef3385daa251d9d414dd963d3017014a4c
MLK-22364 brcmfmac: double check the D3 ACK state when wait event timeout

When system suspend, pcie bus write BRCMF_H2D_HOST_D3_INFORM cmd
into tcm32 mem to let host enter D3 mode, and wait the D3 ACK
interrupt. But sometime, the interrupt is comming lately then
cause wait event timeout, so double check the D3 ACK state.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c