linux/drivers/mmc/core
Ulf Hansson bbd43682eb mmc: core: Signal wakeup event at card insert/removal
We want to give user space provision to fully consume a card
insert/remove event, when the event was caused by a wakeup irq.

By signaling the wakeup event for a time of 5 s for devices configured
as wakeup capable, we likely will be prevent a sleep long enough to let
user space consume the event.

To enable this feature, host drivers must thus configure their devices
as wakeup capable.

This is a reworked implementation of the old wakelocks for the mmc
subsystem, originally authored by Colin Cross and San Mehat for the
Android kernel. Zoran Markovic shall also be given cred for recently
re-trying to upstream this feature.

Cc: San Mehat <san@google.com>
Cc: Colin Cross <ccross@android.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Zoran Markovic <zoran.markovic@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Zoran Markovic <zoran.markovic@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2013-10-30 20:26:32 -04:00
..
bus.c mmc: core: clean up duplicate macros 2013-09-25 21:51:52 -04:00
bus.h
core.c mmc: core: Signal wakeup event at card insert/removal 2013-10-30 20:26:32 -04:00
core.h mmc: core: Let mmc_set_signal_voltage take ocr as parameter 2013-10-30 20:26:26 -04:00
debugfs.c mmc: block: Enable runtime pm for mmc blkdevice 2013-05-26 14:23:16 -04:00
host.c mmc: slot-gpio: Add debouncing capability to mmc_gpio_request_cd() 2013-08-24 23:45:09 -04:00
host.h
Kconfig drivers/mmc/core: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:06 -08:00
Makefile mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions 2012-07-10 23:04:04 -04:00
mmc_ops.c mmc: core: Do not poll for busy with status cmd for all switch cmds 2013-10-30 20:26:24 -04:00
mmc_ops.h mmc: core: Restructure and simplify code for mmc sleep|awake 2013-05-26 14:23:17 -04:00
mmc.c mmc: core: Collect common code for card ocr validation 2013-10-30 20:26:31 -04:00
quirks.c
sd_ops.c
sd_ops.h
sd.c mmc: core: Collect common code for card ocr validation 2013-10-30 20:26:31 -04:00
sd.h
sdio_bus.c PM / Runtime: Rework the "runtime idle" helper routine 2013-06-03 21:49:52 +02:00
sdio_bus.h
sdio_cis.c mmc: sdio: Change pr_warning to pr_warn_ratelimited 2012-07-22 15:25:48 -04:00
sdio_cis.h
sdio_io.c mmc: sdio: Use multiple scatter/gather list 2012-12-06 13:54:43 -05:00
sdio_irq.c
sdio_ops.c mmc: sdio: Use multiple scatter/gather list 2012-12-06 13:54:43 -05:00
sdio_ops.h
sdio.c mmc: core: Collect common code for card ocr validation 2013-10-30 20:26:31 -04:00
slot-gpio.c mmc: slot-gpio: Add debouncing capability to mmc_gpio_request_cd() 2013-08-24 23:45:09 -04:00