|
@@ -2547,9 +2547,6 @@ EXPORT_SYMBOL_GPL(sdhci_disable_irq_wakeups);
|
|
|
|
|
|
int sdhci_suspend_host(struct sdhci_host *host)
|
|
|
{
|
|
|
- if (host->ops->platform_suspend)
|
|
|
- host->ops->platform_suspend(host);
|
|
|
-
|
|
|
sdhci_disable_card_detection(host);
|
|
|
|
|
|
/* Disable tuning since we are suspending */
|
|
@@ -2606,9 +2603,6 @@ int sdhci_resume_host(struct sdhci_host *host)
|
|
|
|
|
|
sdhci_enable_card_detection(host);
|
|
|
|
|
|
- if (host->ops->platform_resume)
|
|
|
- host->ops->platform_resume(host);
|
|
|
-
|
|
|
/* Set the re-tuning expiration flag */
|
|
|
if (host->flags & SDHCI_USING_RETUNING_TIMER)
|
|
|
host->flags |= SDHCI_NEEDS_RETUNING;
|