linux-stable/include/linux/mmc
Ulf Hansson b52fb259df mmc: core: Always allow the card detect uevent to be consumed
The approach to allow userspace ~5s to consume the uevent, which is
triggered when a new card is inserted/initialized, currently requires the
mmc host to support system wakeup.

This is unnecessary limiting, especially for an mmc host that relies on a
GPIO IRQ for card detect. More precisely, the mmc host may not support
system wakeup for its corresponding struct device, while the GPIO IRQ still
could be configured as a wakeup IRQ via enable_irq_wake().

To support all various cases, let's simply drop the need for the wakeup
support. Instead let's always register a wakeup source and activate it for
all card detect IRQs by calling __pm_wakeup_event().

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20200529102341.12529-1-ulf.hansson@linaro.org
2020-07-13 12:18:22 +02:00
..
card.h mmc: core: expose info about enhanced rpmb support 2020-05-28 11:21:03 +02:00
core.h
host.h mmc: core: Always allow the card detect uevent to be consumed 2020-07-13 12:18:22 +02:00
mmc.h mmc: core: expose info about enhanced rpmb support 2020-05-28 11:21:03 +02:00
pm.h
sd.h
sdhci-pci-data.h
sdio.h
sdio_func.h
sdio_ids.h mmc: sdio: Sort all SDIO IDs in common include file 2020-05-29 12:37:59 +02:00
sh_mmcif.h
slot-gpio.h