Home
last modified time | relevance | path

Searched hist:"88 ac2a2c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mmc/host/
H A Dsh_mmcif.c88ac2a2c Thu Feb 11 06:59:53 CST 2016 Ulf Hansson <ulf.hansson@linaro.org> 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: Ulf Hansson <ulf.hansson@linaro.org>
88ac2a2c Thu Feb 11 06:59:53 CST 2016 Ulf Hansson <ulf.hansson@linaro.org> 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: Ulf Hansson <ulf.hansson@linaro.org>