mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
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>
This commit is contained in:
parent
0f8bb9da5a
commit
5e5eca6644
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user