OSDN Git Service

mmc: sdio: Drop mmc_claim|release_host() in mmc_sdio_power_restore()
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 11 Jun 2019 15:44:32 +0000 (17:44 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Jul 2019 11:17:30 +0000 (13:17 +0200)
commitcd23042d05468ab2e66e0298b46ee90a5f8d9a74
tree4b4005463338d114a2e02e9a1ba75b1b8ee73e3d
parentcf4b20ecfa4edc4a0e55d52bc0a735f60bdfe7eb
mmc: sdio: Drop mmc_claim|release_host() in mmc_sdio_power_restore()

The function mmc_sdio_power_restore() is called either from
mmc_sdio_runtime_resume() or from mmc_sdio_hw_reset(). Both callers either
claims/releases the host or require its callers to do so. Therefore let's
drop the redundant calls to mmc_claim|release_host() in
mmc_sdio_power_restore().

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
drivers/mmc/core/sdio.c