> To be able to put the mmc card into sleep/power-off state, we first > need to prevent the mmc-blk-queue from serving any additional I/O > requests, which is what mmc_remove_card() does. :-) > > Although, we can't call _mmc_suspend() after mmc_remove_card() as the > mmc_card may have been freed by then. Hmm... Okay, this means there is basically only one place where we can suspend the card. I made another RFC. Will test it now and send it out later if all goes well.
Attachment:
signature.asc
Description: PGP signature