mmc: sdhci-of-dwcmshc: Add runtime PM operations
authorLiming Sun <limings@nvidia.com>
Tue, 22 Aug 2023 19:59:29 +0000 (15:59 -0400)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 24 Aug 2023 10:57:20 +0000 (12:57 +0200)
commit48fe8fadbe5e03edfd83315c331b171a9ae245a4
treece63b8b8144b3d2c959b12bb1dff2fe7264ec588
parenta11937b3cff5449871f428e46e202481dc61a9de
mmc: sdhci-of-dwcmshc: Add runtime PM operations

This commit implements the runtime PM operations to disable eMMC card clock
when idle.

Reviewed-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Liming Sun <limings@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230822195929.168552-2-limings@nvidia.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c