projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8023cf2
)
mmc: sdhci_am654: Print error message if the DLL fails to lock
author
Faiz Abbas
<faiz_abbas@ti.com>
Tue, 28 May 2019 09:59:28 +0000
(15:29 +0530)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 10 Jun 2019 15:11:09 +0000
(17:11 +0200)
Print an error message and return if DLL fails to lock.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_am654.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci_am654.c
b/drivers/mmc/host/sdhci_am654.c
index
3c32d9f
..
d0b2078
100644
(file)
--- a/
drivers/mmc/host/sdhci_am654.c
+++ b/
drivers/mmc/host/sdhci_am654.c
@@
-137,6
+137,11
@@
static void sdhci_am654_set_clock(struct sdhci_host *host, unsigned int clock)
ret = regmap_read_poll_timeout(sdhci_am654->base, PHY_STAT1,
val, val & DLLRDY_MASK, 1000,
1000000);
+ if (ret) {
+ dev_err(mmc_dev(host->mmc), "DLL failed to relock\n");
+ return;
+ }
+
sdhci_am654->dll_on = true;
}
}