aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2016-02-24 12:44:42 -0800
committerDmitry Shmidt <dimitrysh@google.com>2016-02-24 12:44:42 -0800
commit336e299457a488dde45ca67e5e68aa1a5b6c9d4a (patch)
treef90210e996a7d2643cb879552de876b8fc85eeff
parent45f08da5f55fc3f85fa0bc8148e4d993f3017f2a (diff)
downloadhikey-linaro-336e299457a488dde45ca67e5e68aa1a5b6c9d4a.tar.gz
Revert "mmc: Extend wakelock if bus is dead"
This reverts commit dde72f9e313fc52d467ef0aad41cecd2c9f9f212.
-rw-r--r--drivers/mmc/core/core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index c731dc4b4664..ebfb3606f7a3 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -2487,12 +2487,6 @@ void mmc_rescan(struct work_struct *work)
host->detect_change = 0;
- /* If the card was removed the bus will be marked
- * as dead - extend the wakelock so userspace
- * can respond */
- if (host->bus_dead)
- extend_wakelock = 1;
-
/*
* Let mmc_bus_put() free the bus/bus_ops if we've found that
* the card is no longer present.