]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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)
commit7c5709194096beea1ab6e6db46768d70a068efb0
tree4f41be93cdcbaaeb32869c1a1e5e60f3597a6261
parente1631f989e0c6c8d9b43a2dbdd1097f70da603a5
mmc: core: Do not pre-claim host in suspend

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>
drivers/mmc/core/core.c