I am using a 2.6.35+, not a 3.0 kernel. So with the patch in my board, it works. Andrei Warkentin has mentioned that, if the mounted device contains root file system, that patch cannot fix this problem really since the device node will be changed after resuming back. That is also the reason not push to linux-mmc Thanks Chuanxiao > -----Original Message----- > From: Viresh Kumar [mailto:viresh.kumar@xxxxxx] > Sent: Tuesday, November 15, 2011 3:10 PM > To: Dong, Chuanxiao > Cc: Chris Ball; linux-mmc@xxxxxxxxxxxxxxx; Shiraz HASHIM; Armando VISCONTI; > Ajay KHANDELWAL > Subject: Re: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend. > > On 11/15/2011 12:27 PM, Dong, Chuanxiao wrote: > > Hi Viresh, > > I also meet the hang issue when suspending a system with a mounted SD card. > Actually it caused by a dead lock of mmc_claim_host. Maybe we faced the same > issue. > > So may be the two mails in the attachment can help you. > > Hi Dong, > > You wouldn't believe it, but just 5 mins earlier i found the mail > chain you sent to me. I got this fix of moving claim_host below remove > and it worked for me too. But i faced another issue with the patch when > i suspend/resume again and again in a loop. It might or might not be > related to this patch. > > But i don't see this work getting pushed into Linux. > What is the current state at your SoC? Are you keeping this issue open as > "Don't suspend with MMC card mounted" > > Or you are working with this fix? > > Thanks for the mail. > > -- > viresh -- 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