Re: [RFC PATCH] mmc: suspend MMC also when unbinding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux