|
@@ -2487,6 +2487,7 @@ int sdhci_suspend_host(struct sdhci_host *host)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
+ sdhci_mask_irqs(host, SDHCI_INT_ALL_MASK);
|
|
|
free_irq(host->irq, host);
|
|
|
|
|
|
return ret;
|
|
@@ -3142,6 +3143,7 @@ int sdhci_add_host(struct sdhci_host *host)
|
|
|
#ifdef SDHCI_USE_LEDS_CLASS
|
|
|
reset:
|
|
|
sdhci_reset(host, SDHCI_RESET_ALL);
|
|
|
+ sdhci_mask_irqs(host, SDHCI_INT_ALL_MASK);
|
|
|
free_irq(host->irq, host);
|
|
|
#endif
|
|
|
untasklet:
|
|
@@ -3184,6 +3186,7 @@ void sdhci_remove_host(struct sdhci_host *host, int dead)
|
|
|
if (!dead)
|
|
|
sdhci_reset(host, SDHCI_RESET_ALL);
|
|
|
|
|
|
+ sdhci_mask_irqs(host, SDHCI_INT_ALL_MASK);
|
|
|
free_irq(host->irq, host);
|
|
|
|
|
|
del_timer_sync(&host->timer);
|