summaryrefslogtreecommitdiffstats
path: root/drivers/memory/tegra/tegra114.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-11-04 19:49:07 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2020-11-26 18:50:35 +0100
commitd5ecac0afa30811901eb401067f196e688aeb73e (patch)
tree50bc1241b1d4383866753cd4cc3b0ebc515928a9 /drivers/memory/tegra/tegra114.c
parent162641a6e200e935cd39b26737f3ec0b5ea856fb (diff)
downloadlinux-d5ecac0afa30811901eb401067f196e688aeb73e.tar.bz2
memory: tegra: Add missing latency allowness entry for Page Table Cache
Add missing PTC memory client latency allowness entry to the Tegra MC drivers. This prevents erroneous clearing of MC_INTSTATUS 0x0 register during of the LA programming in tegra_mc_setup_latency_allowance() due to the missing entry. Note that this patch doesn't fix any known problems. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20201104164923.21238-32-digetx@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory/tegra/tegra114.c')
-rw-r--r--drivers/memory/tegra/tegra114.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/memory/tegra/tegra114.c b/drivers/memory/tegra/tegra114.c
index 48ef01c3ff90..ed376ba2d2fe 100644
--- a/drivers/memory/tegra/tegra114.c
+++ b/drivers/memory/tegra/tegra114.c
@@ -15,6 +15,12 @@ static const struct tegra_mc_client tegra114_mc_clients[] = {
.id = 0x00,
.name = "ptcr",
.swgroup = TEGRA_SWGROUP_PTC,
+ .la = {
+ .reg = 0x34c,
+ .shift = 0,
+ .mask = 0xff,
+ .def = 0x0,
+ },
}, {
.id = 0x01,
.name = "display0a",