Re: [PATCH v2] mmc: sdhci-msm: Add pm_runtime and system PM support

From: Ulf Hansson
Date: Thu Sep 01 2016 - 10:09:01 EST


[...]

>> +
>> +static const struct dev_pm_ops sdhci_msm_pm_ops = {
>> + SET_LATE_SYSTEM_SLEEP_PM_OPS(sdhci_msm_suspend, sdhci_msm_resume)

One more thing. Why do you need the late versions of the system PM callbacks?

I think it's fine to use the regular:
SET_SYSTEM_SLEEP_PM_OPS(sdhci_msm_suspend, sdhci_msm_resume)

[...]

Kind regards
Uffe