• P
    mmc: support unsafe resume of cards · 6abaa0c9
    Pierre Ossman 提交于
    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: NPierre Ossman <drzeus@drzeus.cx>
    6abaa0c9
Kconfig 565 字节