diff options
| author | Dmitry Shmidt <dimitrysh@google.com> | 2016-02-24 12:45:14 -0800 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-04-07 16:49:52 +0530 |
| commit | 7187712e8d53b99c64b774011945d601345ddf36 (patch) | |
| tree | 6f537867fec125e92cb338503470e385614ef630 | |
| parent | c84db235f0c9db4574760979382285fdd50ef88b (diff) | |
Revert "mmc: Extend wakelock if bus is dead"
This reverts commit dde72f9e313fc52d467ef0aad41cecd2c9f9f212.
| -rw-r--r-- | drivers/mmc/core/core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 96666984a103..3e54185bc985 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -2605,12 +2605,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. |
