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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
George Hilliard 2019-03-18 20:20:10 -06:00 committed by Greg Kroah-Hartman
parent 6d0e4698c8
commit 983b2fd723

View File

@ -1344,7 +1344,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 ? */
}