memory: tegra: Correct reset value of xusb_hostr
authorNicolin Chen <nicoleotsuka@gmail.com>
Fri, 20 Dec 2019 00:29:11 +0000 (16:29 -0800)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Jan 2020 14:34:06 +0000 (15:34 +0100)
According to Tegra X1 (Tegra210) TRM, the reset value of xusb_hostr
field (bit [7:0]) should be 0x7a. So this patch simply corrects it.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/tegra210.c

index b420268..cc04824 100644 (file)
@@ -436,7 +436,7 @@ static const struct tegra_mc_client tegra210_mc_clients[] = {
                        .reg = 0x37c,
                        .shift = 0,
                        .mask = 0xff,
-                       .def = 0x39,
+                       .def = 0x7a,
                },
        }, {
                .id = 0x4b,