From: Hante Meuleman Date: Sun, 25 Jan 2015 19:31:31 +0000 (+0100) Subject: brcmfmac: prevent possible deadlock on resuming SDIO device. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~10^2~98 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69d03ee0b709a282f81e9f81c1359cffe1edcd2b;p=pandora-kernel.git brcmfmac: prevent possible deadlock on resuming SDIO device. When the system is resumed a deadlock can occur when DPC gets entered before resume is complete. This patch fixes this by properly checking the suspend state outside the claim_host code block. Reviewed-by: Arend Van Spriel Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Daniel (Deognyoun) Kim Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: Kalle Valo --- Reading git-diff-tree failed