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

Skip to content
Commit 88ac2a2c authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: sh_mmcif: Make sure the device stays active when needed in ->probe()



While accessing the device, make sure it stays active by increasing the
runtime PM usage count for it.

Let's also defer to enable runtime PM until we really need access to the
device. This also enables the error path in ->probe() to become simpler.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 04974df8
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