diff options
author | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-10-11 15:31:17 +0200 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-27 16:08:30 +0200 |
commit | d944dc79eb9bb82ac4ffe209a9ca61beaf455efd (patch) | |
tree | e53ea64dcda5feae8b4ed0bb7bb4ea380fafd33f | |
parent | e793cf761e1ba86a88e363bf09b56a36780d15ba (diff) |
mmc: mmci: Do not release spinlock in request_end
The patch "mmc: core: move ->request() call from atomic context",
is the reason to why this change is possible. This simplifies the
error handling code execution path quite a lot and potentially also
fixes some error handling hang problems.
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Change-Id: Icc2454053d692d8d19d81e2046ed5939d2aac915
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33713
Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
-rw-r--r-- | drivers/mmc/host/mmci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 393ede681aa..8d901ba1e54 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -181,13 +181,7 @@ mmci_request_end(struct mmci_host *host, struct mmc_request *mrq) host->mrq = NULL; host->cmd = NULL; - /* - * Need to drop the host lock here; mmc_request_done may call - * back into the driver... - */ - spin_unlock(&host->lock); mmc_request_done(host->mmc, mrq); - spin_lock(&host->lock); } static void mmci_set_mask1(struct mmci_host *host, unsigned int mask) |