From d7e709cc0b42f050cf25e43b3d68354a061444d1 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 30 Jun 2010 19:02:04 +0200 Subject: glamo-mci: enable irq line sooner to fix resume mmc_resume_host may send commands to the MMC host, so, the IRQ line have to be re-enabled before the mmc_resume_host call. Otherwise, the call may hang, preventing the device from fully waking up. --- drivers/mmc/host/glamo-mci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/glamo-mci.c b/drivers/mmc/host/glamo-mci.c index 4fb0c4a4189..923c1ce621c 100644 --- a/drivers/mmc/host/glamo-mci.c +++ b/drivers/mmc/host/glamo-mci.c @@ -930,10 +930,10 @@ static int glamo_mci_resume(struct device *dev) glamo_mci_reset(host); mdelay(10); - ret = mmc_resume_host(host->mmc); - enable_irq(host->irq); + ret = mmc_resume_host(host->mmc); + mmc_host_lazy_disable(host->mmc); return ret; -- cgit v1.2.3