diff options
author | 2019-12-20 05:08:49 +0300 | |
---|---|---|
committer | 2020-01-10 15:48:48 +0100 | |
commit | 5e5eca6644873da93f5a32904f43220380f34e88 (patch) | |
tree | c6efb70b6a43e4c90e861172a8782ab04c7bc201 /drivers/memory | |
parent | memory: tegra30-emc: Firm up hardware programming sequence (diff) | |
download | linux-5e5eca6644873da93f5a32904f43220380f34e88.tar.gz linux-5e5eca6644873da93f5a32904f43220380f34e88.tar.bz2 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')
-rw-r--r-- | drivers/memory/tegra/tegra30-emc.c | 3 |
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; } |