On Wed, Sep 15, 2010 at 10:26 PM, Nicolas Pitre <nico@xxxxxxxxxxx> wrote: > On Wed, 15 Sep 2010, Bing Zhao wrote: > >> If CMD7 is sent _before_ client driver's resume handler is called, >> while 8686 card is in sleep mode, it will fail. If CMD7 is sent >> _after_ client driver's resume handler is called, it should succeed. > > Maybe that's what we should do in the powered suspend case then. > >> By the way, a patch "mmc: fix all hangs related to mmc/sd card >> insert/removal during suspend/resume" >> (4c2ef25fe0b847d2ae818f74758ddb0be1c27d8e by Maxim Levitsky) has >> removed the call to mmc_detect_change() in mmc_resume_host(). > > If a card is removed while the host is suspended, then this should be > detected. > > > Nicolas > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > Hi, Bing Do you have any updated patch to skip mmc_sdio_init_card in resume back. We need such patch in enable host sleep feature for mrvl8787. Thanks a lot. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html