From: Hante Meuleman Date: Sun, 25 Jan 2015 19:31:35 +0000 (+0100) Subject: brcmfmac: SDIO: avoid using bus state for private states. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~10^2~94 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1cee865c3e79b71c10cd6a3de03d0dd73f7bdd9;p=pandora-kernel.git brcmfmac: SDIO: avoid using bus state for private states. Each bus driver is maintaing an exported bus state indicating if upper layers can or cannot send data. SDIO is using this state also for more private states. This makes handling the states and state changes complex. This patch minimises the exposed states and makes SDIO keep track of an internal state where necessary. 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