memory: tegra: Delete duplicated argument to '|' in function tegra210_emc_r21021_peri...
authorYe Bin <yebin10@huawei.com>
Thu, 3 Sep 2020 02:15:42 +0000 (10:15 +0800)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 9 Sep 2020 07:00:22 +0000 (09:00 +0200)
In function tegra210_emc_r21021_periodic_compensation when calculate
emc_cfg EMC_CFG_DRAM_CLKSTOP_PD is duplicated.

Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20200903021542.315195-1-yebin10@huawei.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/tegra/tegra210-emc-cc-r21021.c

index d60bdea3af3f514fbeb2f7e015c7a198ea6017fc..0ebfa8eccf0cb3047c4fbc2a9619a73e07f7181b 100644 (file)
@@ -501,7 +501,6 @@ static u32 tegra210_emc_r21021_periodic_compensation(struct tegra210_emc *emc)
                emc_cfg_o = emc_readl(emc, EMC_CFG);
                emc_cfg = emc_cfg_o & ~(EMC_CFG_DYN_SELF_REF |
                                        EMC_CFG_DRAM_ACPD |
-                                       EMC_CFG_DRAM_CLKSTOP_PD |
                                        EMC_CFG_DRAM_CLKSTOP_PD);