Re: [PATCH v2 2/3]mmc: enable runtime PM support of sdhci host controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +int sdhci_runtime_suspend(struct sdhci_host *host)
> +{
> +       int ret = 0;
> +
> +       if (host->vmmc)
> +               ret = regulator_disable(host->vmmc);
Please dont suspend the card's power in the sdhci's suspend function.
This means the card will die.
Think of the wifi idle use case where the wifi is working, but sdio
bus is not used. sdhci will suspend, but wifi card wont.
manipulation of the host->vmmc must be done in set_ios() (I will send
the patch later in the week...)

Regards,
-- 
Pierre
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux