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

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

Merge "mmc: block: stop bkops during shutdown"

parents fea9300f f7316356
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3242,6 +3242,9 @@ static void mmc_blk_shutdown(struct mmc_card *card)
	/* send power off notification */
	if (mmc_card_mmc(card)) {
		mmc_rpm_hold(card->host, &card->dev);
		mmc_claim_host(card->host);
		mmc_stop_bkops(card);
		mmc_release_host(card->host);
		mmc_send_long_pon(card);
		mmc_rpm_release(card->host, &card->dev);
	}