mmc: tmio: move runtime PM enablement to the driver implementations
Both the Renesas and Uniphier implementations perform actions which affect runtime PM before calling into the core tmio_mmc_host_probe() which enabled runtime PM. Move pm_runtime_enable() from the core and tmio_mmc_host_probe() into each drivers probe() so it can be called before any clocks or other resources are switched on. Reported-by:Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Acked-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org>
Showing
- drivers/mmc/host/renesas_sdhi_core.c 6 additions, 0 deletionsdrivers/mmc/host/renesas_sdhi_core.c
- drivers/mmc/host/tmio_mmc.c 5 additions, 0 deletionsdrivers/mmc/host/tmio_mmc.c
- drivers/mmc/host/tmio_mmc_core.c 9 additions, 2 deletionsdrivers/mmc/host/tmio_mmc_core.c
- drivers/mmc/host/uniphier-sd.c 3 additions, 0 deletionsdrivers/mmc/host/uniphier-sd.c
Loading
Please register or sign in to comment