diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2017-06-09 14:27:18 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-06-20 10:30:39 +0200 |
commit | 4760257cb54e29e9a90e0ce849f4efcd67718816 (patch) | |
tree | 267191c924710274e1171cddded7ce62aae8536f /drivers/video/fbdev | |
parent | mmc: sdio: Tidy error path in mmc_attach_sdio() (diff) | |
download | linux-4760257cb54e29e9a90e0ce849f4efcd67718816.tar.xz linux-4760257cb54e29e9a90e0ce849f4efcd67718816.zip |
mmc: sdio: Keep card runtime resumed while adding function devices
Drivers core will runtime suspend a device with no driver. That means the
SDIO card will be runtime suspended as soon as it is added. It is then
runtime resumed to add each function. That is entirely pointless, so add
pm runtime get/put to keep the SDIO card runtime resumed until the function
devices have been added.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions