memory: tegra20: Correct comment to MC_STAT registers writes
authorDmitry Osipenko <digetx@gmail.com>
Tue, 23 Mar 2021 21:04:45 +0000 (00:04 +0300)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 1 Apr 2021 17:58:22 +0000 (19:58 +0200)
The code was changed multiple times and the comment to MC_STAT
registers writes became slightly outdated. The MC_STAT programming
now isn't hardcoded to the "bandwidth" mode, let's clarify this in
the comment.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210323210446.24867-1-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
drivers/memory/tegra/tegra20.c

index 14caf5b..4659c0c 100644 (file)
@@ -451,9 +451,8 @@ static void tegra20_mc_stat_gather(struct tegra20_mc_stat *stat)
        control_1 = tegra20_mc_stat_gather_control(&stat->gather1);
 
        /*
-        * Reset statistic gathers state, select bandwidth mode for the
-        * statistics collection mode and set clocks counter saturation
-        * limit to maximum.
+        * Reset statistic gathers state, select statistics collection mode
+        * and set clocks counter saturation limit to maximum.
         */
        mc_writel(mc, 0x00000000, MC_STAT_CONTROL);
        mc_writel(mc,  control_0, MC_STAT_EMC_CONTROL_0);