diff mbox

Is it possible for sdhci host controller driver to schedule inside sdhci_request() function?

Message ID CE761E84DADF2947A4AF22FB8D97A473321F45A4@shsmsx501.ccr.corp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gao, Yunpeng Jan. 26, 2011, 3:56 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 5dead05..2c2ac66 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1184,6 +1184,10 @@  static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
 
 	host = mmc_priv(mmc);
 
+	printk(KERN_ERR "%s: Enter into sdhci_request:\n", mmc_hostname(host->mmc));
+	msleep(10);
+	printk(KERN_ERR "%s: Go on after msleep 10ms ...\n", mmc_hostname(host->mmc));
+
 	spin_lock_irqsave(&host->lock, flags);
 
 	WARN_ON(host->mrq != NULL);