Commit 4d56e9ae authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: sdhci-acpi: Remove redundant runtime PM calls

Commit 9250aea7

 ("mmc: core: Enable runtime PM management of host
devices"), made some calls to the runtime PM API from the driver
redundant. Especially those which deals with runtime PM reference
counting, so let's remove them.

Cc: Adrian Hunter <>
Signed-off-by: default avatarUlf Hansson <>
parent 5d7435f5
......@@ -200,8 +200,6 @@ static int bxt_get_cd(struct mmc_host *mmc)
if (!gpio_cd)
return 0;
spin_lock_irqsave(&host->lock, flags);
if (host->flags & SDHCI_DEVICE_DEAD)
......@@ -211,9 +209,6 @@ static int bxt_get_cd(struct mmc_host *mmc)
spin_unlock_irqrestore(&host->lock, flags);
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment