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

Commit b1395a00 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: kick cmdq thread after suspend"

parents 49c992e9 2b49ef33
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -2374,6 +2374,11 @@ out:
		host->dev_status = DEV_UNKNOWN;
		host->dev_status = DEV_UNKNOWN;
	else if (is_suspend)
	else if (is_suspend)
		host->dev_status = DEV_SUSPENDED;
		host->dev_status = DEV_SUSPENDED;

	/* Kick CMDQ thread to process any requests came in while suspending */
	if (host->card->cmdq_init)
		wake_up(&host->cmdq_ctx.wait);

	mmc_release_host(host);
	mmc_release_host(host);
	return err;
	return err;
}
}