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

Commit 06b4e511 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: clock-scaling: scale only for data requests"

parents e6adbc53 9a7e0992
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -956,9 +956,10 @@ mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)
	mmc_host_clk_hold(host);
	led_trigger_event(host->led, LED_FULL);

	if (mmc_is_data_request(mrq)) {
		mmc_deferred_scaling(host);
	if (mmc_is_data_request(mrq))
		mmc_clk_scaling_start_busy(host, true);
	}

	host->ops->request(host, mrq);
}