mmc: sdhci-omap: Implement PM runtime functions
authorTony Lindgren <tony@atomide.com>
Fri, 15 Oct 2021 10:47:18 +0000 (13:47 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 19 Oct 2021 11:01:46 +0000 (13:01 +0200)
commitf433e8aac6b94218394c6e7b80bb89e4e79c9549
treee2ea230af889a22bfb84951e9d35bfa36d2348f5
parent42b380b69b2ea0e218d3534ea8073fd67bbbf67b
mmc: sdhci-omap: Implement PM runtime functions

Implement PM runtime functions and enable autosuspend.

Note that we save context in probe to avoid restoring invalid context
on the first resume. For system suspend, we have the new PM runtime
functions do most of the work.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20211015104720.52240-5-tony@atomide.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c