Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b652bf50 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Invoke mmc_power_up/off with claim_host acquired"

parents 3791fa2c 8a1f0c20
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4472,7 +4472,9 @@ int mmc_power_save_host(struct mmc_host *host)

	mmc_bus_put(host);

	mmc_claim_host(host);
	mmc_power_off(host);
	mmc_release_host(host);

	return ret;
}
@@ -4491,8 +4493,8 @@ int mmc_power_restore_host(struct mmc_host *host)
		return -EINVAL;
	}

	mmc_power_up(host, host->card->ocr);
	mmc_claim_host(host);
	mmc_power_up(host, host->card->ocr);
	ret = host->bus_ops->power_restore(host);
	mmc_release_host(host);