commit | 88ac2a2c30468bb9f750170d92f7dd1ab91ddcbb | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Thu Feb 11 13:59:53 2016 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon May 02 10:33:08 2016 +0200 |
tree | e10eeafe6b214c135bf786269bec3a85c0bdc06e | |
parent | 04974df8049fc4240d22759a91e035082ccd18b4 [diff] |
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>