Commit 5e5eca66 authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Thierry Reding

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: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 0f8bb9da
...@@ -639,8 +639,7 @@ static int emc_prepare_timing_change(struct tegra_emc *emc, unsigned long rate) ...@@ -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); !(val & EMC_AUTO_CAL_STATUS_ACTIVE), 1, 300);
if (err) { if (err) {
dev_err(emc->dev, dev_err(emc->dev,
"failed to disable auto-cal: %d\n", "auto-cal finish timeout: %d\n", err);
err);
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment