From: Arend van Spriel Date: Wed, 10 Jun 2015 22:12:20 +0000 (+0200) Subject: brcmfmac: have sdio return -EIO when device communication is not possible X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~34^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5768f31e4e75e38d9101252aabe8ec7dc826da25;p=pandora-kernel.git brcmfmac: have sdio return -EIO when device communication is not possible The bus interface functions txctl and rxctl may be used while the device can not be accessed, eg. upon driver .remove() callback. This patch will immediately return -EIO when this is the case which speeds up the module unload. Reviewed-by: Hante Meuleman Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: Kalle Valo --- Reading git-diff-tree failed