[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190220051754.12195-11-thirtythreeforty@gmail.com>
Date: Tue, 19 Feb 2019 22:17:54 -0700
From: George Hilliard <thirtythreeforty@...il.com>
To: linux-mips@...ux-mips.org
Cc: linux-kernel@...r.kernel.org, Neil Brown <neil@...wn.name>,
George Hilliard <thirtythreeforty@...il.com>
Subject: [PATCH 10/10] staging: mt7621-mmc: Immediately notify mmc layer of card change detection
There is no need to delay notifying the mmc layer. Schedule the delayed
work to run immediately.
Signed-off-by: George Hilliard <thirtythreeforty@...il.com>
---
drivers/staging/mt7621-mmc/sd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index 472318a979cb..0a7f8384edf8 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -1355,7 +1355,7 @@ static irqreturn_t msdc_irq(int irq, void *dev_id)
if (intsts & MSDC_INT_CDSC) {
if (host->mmc->caps & MMC_CAP_NEEDS_POLL)
return IRQ_HANDLED;
- schedule_delayed_work(&host->card_delaywork, HZ);
+ schedule_delayed_work(&host->card_delaywork, 0);
/* tuning when plug card ? */
}
--
2.20.1
Powered by blists - more mailing lists