Revert "wl12xx: Change claiming of the SDIO bus"
authorEliad Peller <eliad@wizery.com>
Thu, 26 Jan 2012 12:12:31 +0000 (14:12 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:30 +0000 (08:38 +0200)
commitb4748306368a61b64b97b16f11cb6a82eebb60f9
treed950f39758921d7415260ce18020ae40c68812da
parent2801d69e84d04714c22f8cc22fbe8535ac5f1eb7
Revert "wl12xx: Change claiming of the SDIO bus"

This reverts commit 393fb560d328cc06e6a5c7b7473901ad724f82e7.

Commit b6ad726 ("mmc: core: Prevent too long response times
for suspend") fails the suspend if the mmc host can't be
claimed before suspend. As the host is claimed by us as long
as the chip is powered on, suspend will always fail.

Revert to claiming the sdio bus only when needed.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c