MLK-21579 brcmfmac: bcmsdh: move the func->num check early in .brcmf_ops_sdio_suspend()
authorFugang Duan <fugang.duan@nxp.com>
Wed, 24 Apr 2019 08:22:03 +0000 (16:22 +0800)
committerFugang Duan <fugang.duan@nxp.com>
Mon, 29 Apr 2019 01:35:18 +0000 (09:35 +0800)
commit2f908347d482226b762c134aee6277f7f56e5c0c
treea65cf96076d44863b0a3bfaf077e4de6123915d9
parent9d07c19d01a97ca7e5570a1cd4681ad600d0486e
MLK-21579 brcmfmac: bcmsdh: move the func->num check early in .brcmf_ops_sdio_suspend()

Move the func->num check early in .brcmf_ops_sdio_suspend() to
save suspend time.

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