diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2020-08-18 02:51:21 -0700 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-20 17:24:20 +0200 |
commit | 296050a04c9e4e4017638599de8ef0c3cce375b3 (patch) | |
tree | ad53e292d9ee3fd9855193c99d5f0a6d6aae587d | |
parent | ea0c0ad6b6eb36726088991d97a55b99cae456d0 (diff) | |
download | linux-296050a04c9e4e4017638599de8ef0c3cce375b3.tar.bz2 |
memory: tegra: Correct shift value of apew
According to Tegra X1 (Tegra210) TRM, the APEW field is between
[23:16] so the shift bit for apew should be 16 accordingly.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/20200818095121.13645-1-nicoleotsuka@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r-- | drivers/memory/tegra/tegra210.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/tegra/tegra210.c b/drivers/memory/tegra/tegra210.c index cc0482434c75..3bdd7811efef 100644 --- a/drivers/memory/tegra/tegra210.c +++ b/drivers/memory/tegra/tegra210.c @@ -842,7 +842,7 @@ static const struct tegra_mc_client tegra210_mc_clients[] = { }, .la = { .reg = 0x3dc, - .shift = 0, + .shift = 16, .mask = 0xff, .def = 0x80, }, |