Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6f2d3c89 authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: mmci: Do pm_runtime_put() after the host has been added



Previously the pm_runtime_put() caused the device to be runtime PM
suspended, but then immediately being resumed when we add the host.

Prevent this unnecessary runtime PM suspend/resume cycle during
->probe() by moving the call to pm_runtime_put() after mmc_add_host().

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 106276bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment