OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8bb9d
)
memory: tegra30-emc: Correct error message for timed out auto calibration
author
Dmitry Osipenko
<digetx@gmail.com>
Fri, 20 Dec 2019 02:08:49 +0000
(
05:08
+0300)
committer
Thierry Reding
<treding@nvidia.com>
Fri, 10 Jan 2020 14:48:48 +0000
(15:48 +0100)
The code waits for auto calibration to be finished and not to be disabled.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/tegra30-emc.c
patch
|
blob
|
history
diff --git
a/drivers/memory/tegra/tegra30-emc.c
b/drivers/memory/tegra/tegra30-emc.c
index
6f7bc90
..
e3efd95
100644
(file)
--- a/
drivers/memory/tegra/tegra30-emc.c
+++ b/
drivers/memory/tegra/tegra30-emc.c
@@
-639,8
+639,7
@@
static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate)
!(val & EMC_AUTO_CAL_STATUS_ACTIVE), 1, 300);
if (err) {
dev_err(emc->dev,
- "failed to disable auto-cal: %d\n",
- err);
+ "auto-cal finish timeout: %d\n", err);
return err;
}