projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: mmci: Do pm_runtime_put() after the host has been added
[linux-drm-fsl-dcu.git]
/
drivers
/
mmc
/
host
/
mmci.c
diff --git
a/drivers/mmc/host/mmci.c
b/drivers/mmc/host/mmci.c
index 8232e9a02d407ca96495704fd266f02b5fd6fc8e..88aefa6fa8b117685ceb70c7a27e73ec3b5d9d5e 100644
(file)
--- a/
drivers/mmc/host/mmci.c
+++ b/
drivers/mmc/host/mmci.c
@@
-1739,10
+1739,10
@@
static int mmci_probe(struct amba_device *dev,
pm_runtime_set_autosuspend_delay(&dev->dev, 50);
pm_runtime_use_autosuspend(&dev->dev);
- pm_runtime_put(&dev->dev);
mmc_add_host(mmc);
+ pm_runtime_put(&dev->dev);
return 0;
clk_disable: