mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
mmc: cqhci: Print out qcnt in case of timeout
Print task count that has not been completed, this is for the purpose of debugging. Signed-off-by: Bean Huo <beanhuo@micron.com> Link: https://lore.kernel.org/r/20210907151204.118861-2-huobean@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
39013f0968
commit
d47f163c77
1 changed files with 2 additions and 2 deletions
|
@ -899,8 +899,8 @@ static bool cqhci_timeout(struct mmc_host *mmc, struct mmc_request *mrq,
|
|||
spin_unlock_irqrestore(&cq_host->lock, flags);
|
||||
|
||||
if (timed_out) {
|
||||
pr_err("%s: cqhci: timeout for tag %d\n",
|
||||
mmc_hostname(mmc), tag);
|
||||
pr_err("%s: cqhci: timeout for tag %d, qcnt %d\n",
|
||||
mmc_hostname(mmc), tag, cq_host->qcnt);
|
||||
cqhci_dumpregs(cq_host);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue