summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c
index 408e546f..6a453096 100644
--- a/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c
+++ b/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GK20A Tegra Platform Interface 2 * GK20A Tegra Platform Interface
3 * 3 *
4 * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -497,8 +497,6 @@ static int gk20a_tegra_get_clocks(struct device *dev)
497 rate = clk_round_rate(c, rate); 497 rate = clk_round_rate(c, rate);
498 clk_set_rate(c, rate); 498 clk_set_rate(c, rate);
499 platform->clk[i] = c; 499 platform->clk[i] = c;
500 if (i == 0)
501 platform->cached_rate = rate;
502 } 500 }
503 platform->num_clks = i; 501 platform->num_clks = i;
504 502