commit | 6f2d3c89db7c2ef6ceb03feefa325f52ea639a41 | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Thu Dec 11 14:35:55 2014 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jan 19 09:56:23 2015 +0100 |
tree | 65e9cc0715aa6bebafecc50ffcdaa03b10724988 | |
parent | 106276bbc98bd0bac554edce0869d356596ff9ae [diff] |
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: Ulf Hansson <ulf.hansson@linaro.org>