wl1271: sdio: claim host only when doing IO
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 7 Sep 2010 01:24:21 +0000 (04:24 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:03:42 +0000 (16:03 -0400)
Do not maintain a persistent sdio_claim_host state. Instead,
claim host before doing IO and release host soon after.

This fixes several mmc deadlock scenarios, e.g. during
suspend/resume.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found