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

Commit 5cf6ce0a authored by Ritesh Harjani's avatar Ritesh Harjani Committed by Gerrit - the friendly Code Review server
Browse files

mmc: block: Wake up if anyone is waiting on queue_empty_wq



After err handler is run, the active_req should be 0,
so wakeup if anyone is waiting on queue_empty_wq.

Change-Id: I70e99dbda91cd493ec30041b98c031c5ad0ef240
Signed-off-by: default avatarRitesh Harjani <riteshh@codeaurora.org>
parent 6af05365
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3081,6 +3081,7 @@ static void mmc_blk_cmdq_err(struct mmc_queue *mq)

	up_write(&ctx_info->err_rwsem);
	wake_up(&ctx_info->wait);
	wake_up_interruptible(&host->cmdq_ctx.queue_empty_wq);
}

/* invoked by block layer in softirq context */