mmc: core: Do not pre-claim host in suspend
authorUlf Hansson <ulf.hansson@stericsson.com>
Thu, 19 Apr 2012 09:55:25 +0000 (11:55 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Apr 2012 01:52:13 +0000 (21:52 -0400)
Since SDIO drivers may want to do some SDIO operations in their suspend
callback functions, we must not keep the host claimed when calling them.

Daniel Drake reported that libertas_sdio encountered a deadlock in its
suspend function.

Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Tested-by: Daniel Drake <dsd@laptop.org>
[stable@: please apply to 3.2-stable and 3.3-stable]
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found