summaryrefslogtreecommitdiffstats
path: root/drivers/memory/tegra
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-12-20 03:08:49 +0100
committerThierry Reding <treding@nvidia.com>2020-01-10 15:48:48 +0100
commit5e5eca6644873da93f5a32904f43220380f34e88 (patch)
treec6efb70b6a43e4c90e861172a8782ab04c7bc201 /drivers/memory/tegra
parentmemory: tegra30-emc: Firm up hardware programming sequence (diff)
downloadlinux-5e5eca6644873da93f5a32904f43220380f34e88.tar.xz
linux-5e5eca6644873da93f5a32904f43220380f34e88.zip
memory: tegra30-emc: Correct error message for timed out auto calibration
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>
Diffstat (limited to 'drivers/memory/tegra')
-rw-r--r--drivers/memory/tegra/tegra30-emc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/memory/tegra/tegra30-emc.c b/drivers/memory/tegra/tegra30-emc.c
index 6f7bc9017c9a..e3efd9529506 100644
--- 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;
}