projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
885e284
)
Revert "mmc: Extend wakelock if bus is dead"
author
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 24 Feb 2016 20:45:14 +0000
(12:45 -0800)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 24 Feb 2016 20:45:14 +0000
(12:45 -0800)
This reverts commit
dde72f9e313fc52d467ef0aad41cecd2c9f9f212
.
drivers/mmc/core/core.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/core.c
b/drivers/mmc/core/core.c
index 96666984a103893e720637201a91c97790e44048..3e54185bc98565c492c78c65cd2083cfdd6dcbb6 100644
(file)
--- 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.