]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pci: Do not runtime suspend at the end of sdhci_pci_probe()
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Jun 2016 13:24:19 +0000 (16:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:36 +0000 (10:34 +0200)
commit74f772209e6d780f3ef09e66e26869c65b14f3af
tree15b9c418700689ab514c2fc35cb78e3d25b37ce5
parent90041858937afa1400a2b547d7f9b3913b426e5b
mmc: sdhci-pci: Do not runtime suspend at the end of sdhci_pci_probe()

At the successful conclusion of sdhci_pci_probe(), if runtime pm was
allowed, the device would be runtime suspended.  That wastes a lot of time
during initialization.  Instead leave the device active until the mmc core
scans for a card.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c