projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39013f0
)
mmc: cqhci: Print out qcnt in case of timeout
author
Bean Huo
<beanhuo@micron.com>
Tue, 7 Sep 2021 15:12:03 +0000
(17:12 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 12 Oct 2021 08:21:17 +0000
(10:21 +0200)
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>
drivers/mmc/host/cqhci-core.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/cqhci-core.c
b/drivers/mmc/host/cqhci-core.c
index
38559a9
..
ca8329d
100644
(file)
--- a/
drivers/mmc/host/cqhci-core.c
+++ b/
drivers/mmc/host/cqhci-core.c
@@
-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);
}