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

Commit 45aa73a6 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: skip stop flow when current request already done"

parents 15592a5f 2a16d5e4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -746,7 +746,11 @@ static int mmc_wait_for_data_req_done(struct mmc_host *host,
				 */
				mmc_update_clk_scaling(host);
				err = mmc_stop_request(host);
				if (err && !context_info->is_done_rcv) {
				if (err == MMC_BLK_NO_REQ_TO_STOP) {
					pending_is_urgent = true;
					/* wait for done/new/urgent event */
					continue;
				} else if (err && !context_info->is_done_rcv) {
					err = MMC_BLK_ABORT;
					break;
				}