mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
6abaa0c9fe
Since many have the system root on MMC/SD we must allow some foot shooting when it comes to resume. We cannot detect if a card is removed and reinserted during suspend, so the safe approach would be to assume it was, avoiding potential filesystem corruption. This will of course not work if you cannot release the card before suspend. This commit adds a compile time option that makes the MMC layer assume the card wasn't touched if it is redetected upon resume. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
29 lines
565 B
Plaintext
29 lines
565 B
Plaintext
#
|
|
# MMC subsystem configuration
|
|
#
|
|
|
|
menu "MMC/SD Card support"
|
|
|
|
config MMC
|
|
tristate "MMC support"
|
|
help
|
|
MMC is the "multi-media card" bus protocol.
|
|
|
|
If you want MMC support, you should say Y here and also
|
|
to the specific driver for your MMC interface.
|
|
|
|
config MMC_DEBUG
|
|
bool "MMC debugging"
|
|
depends on MMC != n
|
|
help
|
|
This is an option for use by developers; most people should
|
|
say N here. This enables MMC core and driver debugging.
|
|
|
|
source "drivers/mmc/core/Kconfig"
|
|
|
|
source "drivers/mmc/card/Kconfig"
|
|
|
|
source "drivers/mmc/host/Kconfig"
|
|
|
|
endmenu
|