Skip to content
Commit 6abaa0c9 authored by Pierre Ossman's avatar Pierre Ossman
Browse files

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: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 89a73cf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment