android_kernel_xiaomi_sm8350/drivers/mmc
Pierre Ossman 6abaa0c9fe mmc: support unsafe resume of cards
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>
2007-05-01 16:00:02 +02:00
..
card mmc: Separate out protocol ops 2007-05-01 13:04:18 +02:00
core mmc: support unsafe resume of cards 2007-05-01 16:00:02 +02:00
host MMC: Fix handling of low-voltage cards 2007-05-01 14:14:50 +02:00
Kconfig mmc: support unsafe resume of cards 2007-05-01 16:00:02 +02:00
Makefile mmc: Move core functions to subdir 2007-05-01 13:04:18 +02:00